Search found 2 matches

by GumbyMan
Mon Apr 06, 2020 4:13 pm
Forum: ESP32 Arduino
Topic: Problems with sleep timer
Replies: 2
Views: 5716

Re: Problems with sleep timer

:D Thanks. It is working now. I've realized previously that the timer function takes a 64bit value, and I've tried the following esp_sleep_enable_timer_wakeup(uint64_t(SleepTimeSeconds * uS_TO_S_FACTOR)); But the calculation itself ran into an overflow since i've still multiplied two 32bit values. T...
by GumbyMan
Sun Apr 05, 2020 7:45 pm
Forum: ESP32 Arduino
Topic: Problems with sleep timer
Replies: 2
Views: 5716

Problems with sleep timer

Hello, i hope somebody can help me with that. Currently i'm developing a soil moisture sensor with an ESP32 (MH-ET Live MiniKit). The prorgamming is done in c++ using Platform.io in VsCode. The ESP gets controlled by MQTT messages and so far everything is working find. I'm sending the deep sleep tim...