Hello,
They can tell me how can I make a delay of 1 minute 30 seconds using this code. I have tried in various ways without any result.
Thank you
[HTML]CLEAR
LED VAR GPIO.0
CMCON = 7
ANSEL = 0
Include "Elapsed.bas"
Gosub ResetTime ' Reset Time to 0d-00:00:00.00
Gosub StartTimer ' Start the Elapsed Timer
HIGH LED ; Start with LED on
Loop:
if MinutesChanged then
MinutesChanged = 0
if Minutes = 1 then LOW LED ; Turn off LED
endif
Goto Loop[/HTML]
Bookmarks