when using this code i have come across a problem. after there is no input to pin 4 it take about 10 seconds befor pins 1 and 2 come back on. does any one no the reason for this and possibly how to fix this.
Code:
main:
if pin 4 = 0 then armed
if pin 4 = 1 then disarm
armed:
high 1
high 2
goto main
disarm:
low 1
low 2
wait 2
goto main
Last edited: