It really isn’t pretty code but… Wanted my esp32 to take a picture every hour but only between 10am and 4pm. So I check the current hour and if it is above 15, sleep for 19 hours. Else sleep for an hour Am I proud? No But does it work? Yes Is it idiot-proof? Enough for my use-case
0 reposts0 likes