mprograms / QMC5883LCompass

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
GNU General Public License v3.0
105 stars 40 forks source link

Add support for alternative I2C Busses #15

Closed ghost closed 1 year ago

ghost commented 2 years ago

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