Hi getrasa. I also asked this question on the Arduino forum: https://forum.arduino.cc/index.php?topic=678703.0
In short, you need an IMU with a magnetometer, like the MPU9250, to get correct measurements.
Hi getrasa. I also asked this question on the Arduino forum: https://forum.arduino.cc/index.php?topic=678703.0