Search found 1 match
- Thu Oct 03, 2019 9:16 am
- Forum: ESP32 Arduino
- Topic: [SOLVED]ULP count example with Arduino IDE
- Replies: 3
- Views: 10622
Re: [SOLVED]ULP count example with Arduino IDE
Hi, I tried your code (it is really helpful in my small project) - but I'm struggling on wake-up part - no setup -> update_pulse_count is called (so no wake-up is called). I added into setup void setup(void) { esp_sleep_wakeup_cause_t cause = esp_sleep_get_wakeup_cause(); if ((cause != ESP_SLEEP_WAK...