Quote Originally Posted by mister_e
did you at least tried the previous?
Yes , but not compile

If PORTB.0=0 then ' ERROR Line 133: IF without a matching ENDIF. (TUNER.bas)
If CounterA<=1 then
CounterA=CounterA+1
else
CounterA=0