Holding digital pins state in sleep mode

Medrano
Posts: 1
Joined: Wed Aug 30, 2017 7:33 am

Holding digital pins state in sleep mode

Postby Medrano » 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,

dmaxben
Posts: 108
Joined: Thu Nov 16, 2017 6:04 pm

Re: Holding digital pins state in sleep mode

Postby dmaxben » Fri Nov 17, 2017 3:27 pm

Figured I would bump this back up to the top....is it possible to hold a pin "high" while sleeping?

expressive
Posts: 3
Joined: Fri Feb 15, 2019 3:16 pm

Re: Holding digital pins state in sleep mode

Postby expressive » Tue Feb 19, 2019 6:07 pm

Old question, but still unanswered.

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

Who is online

Users browsing this forum: Google [Bot] and 63 guests