Can anyone tell me please what should I put instead of the question marks, please
Program the Picaxe to increment in binary EACH TIME the button is pressed. (Keeps count of the number of button presses)
symbol F=B0
B1=0-1
loop:
if pin0=1 and F=0 then countit
if pin0=0 then reset
goto loop
countit:
B1 = B1+1
High B1
F=????
goto loop
reset:
?????
Program the Picaxe to increment in binary EACH TIME the button is pressed. (Keeps count of the number of button presses)
symbol F=B0
B1=0-1
loop:
if pin0=1 and F=0 then countit
if pin0=0 then reset
goto loop
countit:
B1 = B1+1
High B1
F=????
goto loop
reset:
?????