esp32-qmc5883p-compass-heading
by Mikrobot.pl
Read magnetometer data from a QMC5883P over I2C on an ESP32, convert raw readings to µT, and print a tilt-uncompensated heading (0–360°) to the Serial Monitor. Includes optional magnetic declination correction.