Good night,
I would to know to program the RAK1904 interrupt generators for free-fall and motion detection.
Could you help me?
Cláudio
Good night,
I would to know to program the RAK1904 interrupt generators for free-fall and motion detection.
Could you help me?
Cláudio
Googled and found this:
Maybe it helps.
Start by including the required libraries and setting up the I2C communication.
#include <Wire.h>
#include <Adafruit_LIS3DH.h>
#include <Adafruit_Sensor.h>
// Create an instance of the accelerometer
Adafruit_LIS3DH lis = Adafruit_LIS3DH();
Thank you by your suppport but, I am looking for how to wake up in a sleep mode the MCU based on RAK1904 interruption.
It is described in the ST lis3dh manual that @beegee sent the link.
Regards,
Claudio