Hi mackrackit,
Question: How long does it take LEDave to wire a push_button_switch to a PIC16F684?
Answer: About 48hrs
I think the program below should work ok:
LEDave current status: Eyes going, mind boarderline!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:
Dvae
Bookmarks