hello. just a newbie here.
im having problems using an interrupt on my subroutines. Is there a way where i could turn on a LED for 30secs. but in between that timeline, i could trigger an interrupt? so i could turn it off myself.
my subroutine contains this line of code:
low LED1 ' ON LED
pause 30000 ' Hold ON for 30 secs
high LED1 ' OFF LED
i read on the forum that interrupts trigger only after the "pause" command is done. without the pause, my interrupt works fine. but the LED just sits there turned ON. I would like to have it off after 30 secs. or right after an interrupt has been triggered.
is there any way around this? i know you guys know. thanks in advance!
-trebdms-
keepin'itreal
Bookmarks