mirror of
https://github.com/m5stack/M5Stack.git
synced 2026-05-20 10:06:46 -07:00
add the MPU9250 driver
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user