Page 1 of 1

Can i use Interrupt function from sleep mode

Posted: Mon Jul 29, 2019 12:44 pm
by quangminh.le0701
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?