QMC5883L Compass is a Arduino library for using QMC5583L series chip boards as a compass. Supports: - Getting values of XYZ axis. - Calculating Azimuth. - Getting 16 point Azimuth bearing direction (0 - 15). - Getting 16 point Azimuth bearing Names (N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW) - Smoothing of XYZ readings via rolling averaging and min / max removal. - Optional chipset modes
I added functionality for a predefined I2C (TwoWire) Bus. This is neccesary for ESP8266 and ESP32.
It defaults to the "Wire" Library so its backwards compatible.
I added functionality for a predefined I2C (TwoWire) Bus. This is neccesary for ESP8266 and ESP32. It defaults to the "Wire" Library so its backwards compatible.
Tested on ESP32-C3 and Arduino Uno