For a project I'm working on, I'm trying to have an ESP-07 wake up every hour.
So what I have done so far is call ESP.deepSleep and subtract micros() from the sleep interval (1h):
unsigned int sleeptime = SLEEP_INTERVAL - micros();
ESP.deepSleep(sleeptime, WAKE_NO_RFCAL);
I understand I won't get perfect accuracy but what can I expect from that ?
It doesn't seem to be that accurate
Thank you