I built a basic circuit sucessfully using a slotted disc sinking a red led and sourcing a green led from pin1 to check it was working.
do
if pin4 = 1 then high 1
elseif pin 4 = 0 then low 1
endif
loop
I now want to add a counter on pin2. Tried simple b0 = b0 + 1 but it did not...
I am trying to get this type of inputting to work using an 08m
main: readadc C.4, b1 'read value on pin0 into variable b1
if b1<75 then light1 'if b1 is less than 75 then light 1
if b1<175 then light2 'if b1 is less than 175 then light 2
goto light3 'if b1 is greater...