add the MPU9250 driver

This commit is contained in:
0x1abin
2017-09-27 19:40:43 +08:00
parent 490fbedf5e
commit e7940f9891
5 changed files with 30 additions and 106 deletions
+8
View File
@@ -36,6 +36,14 @@ void M5Stack::begin() {
// Set wakeup button
setWakeupButton(BUTTON_A_PIN);
// MPU9250
#ifdef MPU9250_INSDE
// Wire.begin();
// MPU.setWire(&Wire);
// MPU.beginAccel();
// MPU.beginMag();
#endif
Serial.println("OK.");
}