Andy,
You can encase your mainloop code in a Do/Loop While with a test of the WakeupFlag.
Then when the WakeupFlag is set at timeout, the loop will terminate and you can replace the "GOTO...
Type: Posts; User: Tabsoft; Keyword(s):
Andy,
You can encase your mainloop code in a Do/Loop While with a test of the WakeupFlag.
Then when the WakeupFlag is set at timeout, the loop will terminate and you can replace the "GOTO...
Andy,
You are correct that your timeout1 test/calculation will fail when the RTC roles over from 59 to 00.
Also, if for some reason that the execution is delayed you could miss an entire minute...