Arduino device driver for LIS3MDL magnetometer