weldeng wrote:Here is how I am doing it. Note the indents are not showing when I cut and paste:Lornioiz wrote: Can I ask you how do you do the hourly polling? Do you have a variable holding the elapsed time or do you use a less resource intensive method (if it exist at all).
In Python (i.e. with hardware unlimited resources) I would use that approach, but I'm curious to know if there is a better solution.
Thank you, this is basically what I usually do (I use the utime.time method but the concept is the same).