Xiao Sense Accelerometer Examples and Low Power

nudgeWakeUp

hsa anybody use mbed-enabled run the nudgeWakeUp?

I need it. but not working.

  1. can’t include <Adafruit_SPIFlash.h>
    has error.
    1.1. so I’cat use this func.
    void QSPIF_sleep(void) {
    flashTransport.begin();
    flashTransport.runCommand(0xB9);
    flashTransport.end();
    }
  2. pinMode(PIN_LSM6DS3TR_C_INT1, INPUT_PULLDOWN_SENSE);

mbed-enabled not defined the INPUT_PULLDOWN_SENSE
I has try ‘0x5’ value, can’t work.

can help me ?