modm-io / modm

modm: a C++23 library generator for AVR and ARM Cortex-M devices
https://modm.io
Mozilla Public License 2.0
733 stars 131 forks source link

[driver] Implement QMC5883L driver #1063

Closed mbait closed 12 months ago

mbait commented 1 year ago

QMC5883L is a cheap Chinese implementation of HMC5883L which sought its popularity in DIY Arduino-based projects. Despite the very similar name QMC5883L share almost no common bits with HMC5883L - the register map and the logic vary a lot, so it would be not feasible to re-use the existing driver. The datasheet can be found at https://datasheet.lcsc.com/szlcsc/QST-QMC5883L-TR_C192585.pdf

Even though the chip can barely be considered for use in a serious project (in my humble opinion), people seeking to leave Arduino foundation for something more serious might benefit from this driver. Like I was looking for a way to squize maximal throughput out of that chip for which a non-blocking i2c implementation must be present.

mbait commented 1 year ago

Addressed all the issues.

salkinium commented 12 months ago

Could you synchronize the documentation in the README and rebase on the latest develop branch?