Steward
分享是一種喜悅、更是一種幸福
微處理器 - Espressif ESP-WROOM-32 (NodeMCU ESP-WROOM-32) - 解決Compilation error: MPU6050 has no member named begin問題
參考資訊:
https://github.com/jarzebski/Arduino-MPU6050
https://forum.arduino.cc/t/class-mpu6050-has-no-member-named-beginn-error/476371/7
問題如下:
Compilation error: 'MPU6050' {aka 'class MPU6050_Base'} has no member named 'begin'
步驟如下:
1. Tools => Manage Libraries... => Remove MPU6050
2. 下載https://github.com/jarzebski/Arduino-MPU6050/archive/refs/heads/master.zip
3. Sketch => Include Library => Add .ZIP Library... => Arduino-MPU6050-master.zip