Quote Originally Posted by LEDave View Post

I think the program below should work ok:

Code:
Total var word
clear

MAIN:
if PORTA.5 = 0  then  count_up:
IF PORTA.5 = 1  THEN      MAIN: 
    
Count_up:
let Total = Total + 1 
pauseus 25   
LCDOUT $FE,1
LCDOUT $FE,$C0,DEC Total
PAUSE 500    
GOTO MAIN:
It looks good.
LEDave current status: Eyes going, mind boarderline!

Dvae
Hey, that means you have passed the initiation and are a full codder now.