MPU6866 - i2c access
-
Hi,
I'm trying to access the MPU6866 - registers for temperature and other information from the chip. I'm reading only 0.
What is the default setting for the MPU6866 chip access. Per the invensys datasheet the CS default is SPI mode.
But I couldn't find the CS in the m5stickc schematic for MPU6866.Can you please help to advise on this .
-
I'm trying to access via. c library without using arduino
-
This is something I also find quite bizarre, and is an issue with the new M5Atom also.
the address should be 0x68 but on using the i2c scan program on m5atom which also has an mpu6886 no addresses are found. then I found this in the arduino header file which puzzles me.void setup() { M5.begin(true, false, true); if (M5.IMU.Init() != 0) IMU6886Flag = false; else IMU6886Flag = true; }
why should it's address be zero. It seems like this code works in arduino in the case of the M5Atom but I cannot find a workaround for micropython.