Search found 1 match
- Tue Jul 17, 2018 9:44 am
- Forum: ESP-IDF
- Topic: Wakeup from deepsleep with hall sensor
- Replies: 1
- Views: 4376
Wakeup from deepsleep with hall sensor
Hi, I would like to wakeup ESP from deepsleep with the hall sensor. I find a sample of code (macro) to program ULP. It doesn't work for me and I tried a lot of value for high_adc_treshold (low_adc_treshold is set to 0). #include "esp32/ulp.h" #include "soc/rtc_cntl_reg.h" #include "driver/rtc_io.h" ...