Hi, I do have the following issue: I am building an artificial horizon with a gy-91 gyroscope.
The code works fine on my stm32 blue pill, however there is a strange issue on the black pill:
I can upload the code and get the connection running. Also I am sure the wireing is correct because the pressure sensor on the gy-91 is read properly. However the gyro and the accerelometer just always return zeros. There is no error, just the sensor responds that there is no gravity or rotation.
I am using the following library: GitHub - bolderflight/mpu9250: MPU-9250 sensor driver.
Unfortunately I cannot swap the sensors to check for a hardware issue because the black pill is actually maintained by another person at another location. However I consider a hardware error unlikely because the same behavior occurs on both sensors.
Any ideas what’s going on?