I'm doing IoT project, my device will sleep to save power.
As i understand, if i use deep sleep mode, then every wake up, the code will run setup(); in light sleep, the core isnt sleep, so it only run loop().
i know how to use wakeup source to wakeup like timer, or external wakeup.
all i want is if there is an external wakeup, it will jump into interrupt task like this one [GPIO Interrupt][/https://lastminuteengineers.com/handlin ... -tutorial/]
Can i do that?
Can i use Interrupt function from sleep mode
-
- Posts: 6
- Joined: Mon Jul 01, 2019 2:55 pm
Who is online
Users browsing this forum: No registered users and 231 guests