Dear All
In this circuit can count to 100000pulses .If yes Please help me to modifier this code or give me an other best code for more learning. Thank you in advance for you time
Code:
init:
let b0 = 0
main:
if pin3 = 1 then add ; i/o pin 3 = physical ic pin 4
if pin3 = 0 then low 1
endif
goto main
add:
pause 100
let b0 = b0 + 1
if b0 < 5 then main
high 1 ; i/o pin 1 = physical pin 6
goto main