Search found 2 matches
- Tue Nov 25, 2014 9:09 pm
- Forum: Sensors
- Topic: GY-5150 / MPU-9150 9-Axis Accel Gyro & Compass (HCMODU0064)
- Replies: 6
- Views: 22551
Re: GY-5150 / MPU-9150 9-Axis Accel Gyro & Compass (HCMODU00
The code for the magnetometer is still not working
- Mon Nov 10, 2014 8:29 am
- Forum: Sensors
- Topic: GY-5150 / MPU-9150 9-Axis Accel Gyro & Compass (HCMODU0064)
- Replies: 6
- Views: 22551
Re: GY-5150 / MPU-9150 9-Axis Accel Gyro & Compass (HCMODU00
I am getting wrong values for the compass readings... Why are you reading Low values (Compass) rather than High values which are MSBs... also if you are reading Low values why are you using: Data = Wire.read(); Data = Data | (int)(Wire.read() << 8); which will result in overwriting the same value tw...