Holding digital pins state in sleep mode
Posted: Wed Aug 30, 2017 7:42 am
Dear all,
I am programming an ESP32 using the Arduino core.
I understand from the documentation that it is possible to hold a digital pin state while in sleeping mode, but I did not find how to do it.
I have a pin, configured as output, that has a strong pull-up, I set it to LOW before going to sleep (wake-up with timer) and I would like it to remain low during the sleep period. Any help is much appreciated.
Thanks in advance,
I am programming an ESP32 using the Arduino core.
I understand from the documentation that it is possible to hold a digital pin state while in sleeping mode, but I did not find how to do it.
I have a pin, configured as output, that has a strong pull-up, I set it to LOW before going to sleep (wake-up with timer) and I would like it to remain low during the sleep period. Any help is much appreciated.
Thanks in advance,