Page 1 of 1

esp32_wrom_32 don't light sleep

Posted: Fri Dec 01, 2023 3:29 pm
by stefan.erni
Hi to All

I found a lot of infos about ESP32 and sleep. I like to let the esp32 sleep until I wake it up by Bluetooth, USB, or a Pin.
Bluetooth, USB, or Pin are working fine and all with interrupt.
But I can not even let teh ESP32 sleep.
I tried to implement esp_sleep.h in c code or in suplement code but I get a fail when I compile.

does anyone have a good idea?

regards

Stefan

A demo code from Martin:
Snag_1a31a0a.png
Snag_1a31a0a.png (35.57 KiB) Viewed 8748 times
or add code...
Snag_1a301fd.png
Snag_1a301fd.png (16.3 KiB) Viewed 8748 times