Search found 1 match
- Fri Sep 06, 2019 4:34 pm
- Forum: ESP-IDF
- Topic: RTC Data reset/lost after sleep
- Replies: 1
- Views: 2969
RTC Data reset/lost after sleep
I'm probably out of my depth in this forum but I will ask anyway. I have an ESP32 WROOM board. I'm programming it with the arduino IDE. I save a variable using RTC_DATA_ATTR int loop = 0 Increment loop and set the sleep timer : loop ++; esp_sleep_enable_timer_wakeup(sleeptime * uS_TO_S_FACTOR); esp_...