So wanted to use the LMS9DS1 to wake up the M0 on movement.
I didn't have any luck with the example from Sparkfun (as their "interrupt" was still polling the device??)
But this sets up the device to wake on movement:
https://github.com/melopero/Melopero_LSM9DS1_Arduino_Library/blob/master/examples/accInterruptExample/accInterruptExample.ino
HOWEVER: the LSM9DS1 seems to use a lot of power? Even after disabling the magnetometer, and setting the lowest data rate (10Hz) the board with the LSM9DS1 takes about 100uA, that feels excessive?
(at 119Hz it takes about 300uA, which is way to much)
Has anyone managed to setup the LSM9DS1 to use less power to generate an interrupt to wake up the M0?
Thanks