lucafabbri / HiGrow-Arduino-Esp

MIT License
52 stars 36 forks source link

Update HiGrowEsp32.ino #2

Closed VegasIOT closed 5 years ago

VegasIOT commented 7 years ago

Changed esp_sleep_enable_timer_wakeup to fix issue #1 and also added LL (long long) to uS_TO_S_FACTOR to fix an issues where times longer than 30 minutes (like 3600 seconds) would overflow the counter.