I work with a Sodaq Explorer. I want to put the board in sleep mode, wake it when I press on a push button, send a LoRa message, and return in sleep mode.
For the moment, I succeeded doing this using attachInterrupt and ArduinoLowPower.h library, but I have a current consumption of 6 or 7 mA.
So I tried to adapt my sketch with this Low Power Sketch (https://support.sodaq.com/Boards/ExpLoRer/Examples/low_power_sketch/), but it doesn't work.
Have you got an example to show how I can do this?
Thank you in advance,