I want to make an interrupt while deep sleep
Posted: Wed Sep 09, 2020 12:00 pm
Good morning.
I am developing a tracker based on a ESP32.
I need to reset a counter variable every time I receive a '1' logic in GPIO 27.
I started using ext1 wake up (because I have different wake-up sources)
However, my problem is that I donĀ“t want to wake up the ESP32 every time I get a '1' on GPIO27, due to the high consumption. Instead of that, I want an interrupt routine that resets my counter variable every time that I have a '1' on GPIO 27 while ESP32 is on deep sleep
Is this possible?
I am developing a tracker based on a ESP32.
I need to reset a counter variable every time I receive a '1' logic in GPIO 27.
I started using ext1 wake up (because I have different wake-up sources)
However, my problem is that I donĀ“t want to wake up the ESP32 every time I get a '1' on GPIO27, due to the high consumption. Instead of that, I want an interrupt routine that resets my counter variable every time that I have a '1' on GPIO 27 while ESP32 is on deep sleep
Is this possible?