Hi,
I have a Qwiic Accelerometer LIS2DH12 (SparkX device) connected to a Qwiic Micro SAMD21. It is working perfectly. However I want to be able to put the SAMD to sleep using the Arduino Low Power library. I can do this and wake it using an external switch to an interrupt pin. I would like to use the INT1 and/or INT2 outputs of the accelerometer board to be able to wake the SAMD (it would need to be normally HIGH, and become LOW upon a certain circumstance.
The SFE Library does not directly address this, however the ST library, has some code for the two INT outputs, but it’s over my head. Is there any material that can get me pointed in the right direction?