SwingeyP
Member
Does this thinking make sense?
I want to light some led's in a kind of random sequence after a set time until an interrupt occurs.
This is my thinking does it make sense?
on interupt switchalloff
call waittime
loop: call lightleds
goto loop
end
______________________
waittime:
wait 3 mins or so
________________________
lightleds:
run led sequence
________________________
switchalloff:
turn all outputs off
reset interupt
make sense? Will it work?
Thanks in advance - Paul
I want to light some led's in a kind of random sequence after a set time until an interrupt occurs.
This is my thinking does it make sense?
on interupt switchalloff
call waittime
loop: call lightleds
goto loop
end
______________________
waittime:
wait 3 mins or so
________________________
lightleds:
run led sequence
________________________
switchalloff:
turn all outputs off
reset interupt
make sense? Will it work?
Thanks in advance - Paul