trebdms, Try taking a much smaller pause of say 10 Milliseconds instead of the full 30 seconds. That way your interrupt can be serviced within a much smaller time period. Do something like this:
low LED1 ' ON LED
timevariable = 0
while timevariable < 3000 ' Hold ON for 30 secs
pause 10
wend
high LED1 ' OFF LED
That way your interrupt routine can turn off led1 before the timeout expires.
Dave Purola,
N8NTA
Bookmarks