Page 1 of 1

Holding digital pins state in sleep mode

Posted: Wed Aug 30, 2017 7:42 am
by Medrano
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,

Re: Holding digital pins state in sleep mode

Posted: Fri Nov 17, 2017 3:27 pm
by dmaxben
Figured I would bump this back up to the top....is it possible to hold a pin "high" while sleeping?

Re: Holding digital pins state in sleep mode

Posted: Tue Feb 19, 2019 6:07 pm
by expressive
Old question, but still unanswered.

Can anyone provide a working example of holding a digital pin high during light/deep sleep?