Yes, you will need to loop at least once per second to ensure that you don't miss the event time.
EDIT: BTW, when I commented earlier that it should have printed T1 I must have been looking at Ray's version of the code. The original code did not print T1.
Comments
EDIT: BTW, when I commented earlier that it should have printed T1 I must have been looking at Ray's version of the code. The original code did not print T1.
I put the Get_Time call into a loop to sample the RTC and compare T1 to s. No match.
I duplicated Get_Time and modified it to Get_Time2 but removed the print line of code.
This allowed the loop to run fast enough to make the match.
Thank you very much...I have it now.
Discovery