Hi. I have constructed a successful RC Switch but when the TX is switched off, I need to stop the Picaxe 08 from continuing random switching. The prog is as follows.
main:
pulsin 3,1,b1 'read the pulse width from receiver
if b1<150 then sw1
if b1>150 then sw2
sw1:
low 2
low 1
pause 100
goto main
sw2:
high 2
high 1
pause 100
goto main:
Any ideas would be gratefully received.
Arnie
Â
main:
pulsin 3,1,b1 'read the pulse width from receiver
if b1<150 then sw1
if b1>150 then sw2
sw1:
low 2
low 1
pause 100
goto main
sw2:
high 2
high 1
pause 100
goto main:
Any ideas would be gratefully received.
Arnie
Â