Kiwi monitor is an open source CO2/Humidity/Temperature sensor intended for monitoring the quality of the air in a room. Kiwi was created to support teachers with a notification to ventilate their classroom.
Skipping for now, millis() is fast enough, and the cycle count overflows at 32bit, while the timer library wants a value that overflows at 64bit, so that would end up partially repeating the logic of millis.
Look at
PolledTimeout.h
for inspiration.It's only suited for timers that tick at max every 25s, but for a lot of our cases that is fine.