Andrei IRL
Senior Member
Hi everyone.
I am trying to run one picaxe to monitor the action of another using simple program.
I am having some difficulties where Serial Terminal only is displaying [00] many times over.
Any idea what might be causing it?
Thanks very much in advance.
Andrei.
I am trying to run one picaxe to monitor the action of another using simple program.
I am having some difficulties where Serial Terminal only is displaying [00] many times over.
Any idea what might be causing it?
Thanks very much in advance.
Andrei.
Code:
#picaxe 08m2
setfreq 4
b0=0
main:
if pin1=1 then addone
goto main
addone:
b0=b0+1
sertxd("number if false triggers is ",#b0,13,10)
#terminal 4800
debounce:
pause 100
if pin1=1 then debounce
goto main