Hold digital pin state in sleep mode?
-
Can anyone provide a working C++ example how to hold a digital output pin HIGH during ESP32 deep sleep? Thanks!
-
Hello @m5er "Deep-sleep mode: Only RTC is powered on. Wi-Fi and Bluetooth connection data are stored in RTC
memory. The ULP-coprocessor can work" I think that it means the clock which drives GPIOs will sleep as well. -
@m5er said in Hold digital pin state in sleep mode?:
Can anyone provide a working C++ example how to hold a digital output pin HIGH during ESP32 deep sleep? Thanks!
You need to look into the ULP for that as both cores of the esp are inactive during deep sleep
-
-
@m5er That is part of the problem, the ULP is not well documented and everyone is struggling with it