No description
- Add complete Control Register 1 & 2 functionality - Add all setter/getter functions for mode, ODR, OSR, DSR, range, set/reset mode - Add status register functions (isDataReady, isOverflow) - Add data reading functions (getRawMagnetic, getGaussField) - Add soft reset and self-test functions - Add comprehensive test example with range cycling - All functions tested and verified working with hardware - Gauss conversion automatically adapts to current range setting - Range cycling test demonstrates consistent Gauss values across all ranges 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| examples/test_QMC5883P | ||
| .clang-format | ||
| .gitignore | ||
| Adafruit_QMC5883P.cpp | ||
| Adafruit_QMC5883P.h | ||
| package-lock.json | ||
| package.json | ||
| QMC5883P.pdf:Zone.Identifier | ||
| README.md | ||
Adafruit QMC5883P Library 
This is a library for the QMC5883P 3-axis magnetometer
Features
- 3-axis magnetic field sensing
- 16-bit resolution
- I2C interface
- Multiple full-scale ranges (±2G, ±8G, ±12G, ±30G)
- Built-in self-test capability
- Temperature compensation
Installation
To install, use the Arduino Library Manager and search for "Adafruit QMC5883P" and install the library.
Dependencies
This library depends on the Adafruit BusIO library
Hardware
The QMC5883P is a 3-axis magnetometer with I2C interface. It requires a 3.3V or 5V power supply.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
License
MIT license, all text above must be included in any redistribution. See license.txt for more information.
