the goal is to count events with the interrupt (GPIO) during DeepSleep (wake up with an Interrupt) and to send the result every 24 hours (wake up per timer) via LoRaWAN.
First question: How can i store date and read it after DeepSleep and WakeUp.
Are there special registers that do not lose the information during DeepSleep, which I can then use for storing.
Wake up per Interrupt should be possible done wit this Code:
#define ACC_INT_PIN GPIO1
attachInterrupt(ACC_INT_PIN, accelWakeup, RISING);
count = count +1;
Go in DeepSleep