I'm working on a system that should wakeup every 2 minutes to perform a specific task and come back to sleep. During the sleep I need to count the edges (rise and fall) of a signal so I implemented the EXT1 wakeup too. But when the system wakes up by EXT1, if I use only the esp_sleep_enable_ext1_wakeup function to come back to sleep the timer wakeup is disabled, so I need to know how many seconds remains to the next timer wakeup and use them with the esp_sleep_enable_timer_wakeup function.
How can I keep the deep sleep timing when other wakeup source occurs?
ESP32 - Keep the deep sleep timing when other wakeup source occurs
Who is online
Users browsing this forum: No registered users and 98 guests