Arduino library for MLX90393 magnetometer sensor.
Published on platformio: https://platformio.org/lib/show/13048/arduino-MLX90393
This library is mostly platform agnostic. The only arduino specific code is encapsulated by a Hal class. Basically delay, I2C transceive and DRDY pin handling.
If you're not running arduino, you can use this library by implementing MLX90393Hal, and then calling begin_with_hal()
.
See the ESPHome implementation for an example: https://github.com/esphome/esphome/tree/dev/esphome/components/mlx90393
See examples
See internals.md