This is the Adafruit LIS3MDL magnetometer library
Tested and works great with the Adafruit LIS3MDL Breakout Board
This chip uses I2C to communicate, 2 pins are required to interface
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Limor Fried for Adafruit Industries.
BSD license, check license.txt for more information
All text above must be included in any redistribution
To install, use the Arduino Library Manager and search for "Adafruit LIS3MDL" and install the library.