I read the data of the accelerometer and magnetic sensor from STEVAL-MKI173V using I2C communication. However, 0 is output for the magnetic sensor data. How can I read the value of the magnetic sensor accurately? Please teach.
In addition, what formula do you use to convert the magnetic sensor data to azimuth?There was no error in the I2C communication itself.In addition, I2C communication was performed according to the communication format of LSM303AH.The program is as fo...