mirror of
https://github.com/m5stack/M5Stack.git
synced 2026-05-20 10:06:46 -07:00
Fixed MPU6886 Init I2C error
This commit is contained in:
@@ -23,7 +23,7 @@ int MPU6886::Init(void) {
|
||||
Gyscale = GFS_2000DPS;
|
||||
Acscale = AFS_8G;
|
||||
|
||||
Wire1.begin(21,22);
|
||||
Wire.begin(21,22);
|
||||
|
||||
I2C_Read_NBytes(MPU6886_ADDRESS, MPU6886_WHOAMI, 1, tempdata);
|
||||
imuId = tempdata[0];
|
||||
|
||||
Reference in New Issue
Block a user