NewGeek
New Member
Can somebody help me add some simple debounce code to this. Ive got a switch on PORTA, that will break out of this sub when pressed. If possible, can I keep the debounce code within this sub? (PIC16F84a)
This needs to be as simple as possible.
Nigel I cant get on to your site right now, otherwise Id try there first.
Im sure you experts will find lots of other elementary problems with my code to. Thanks in advance.
This needs to be as simple as possible.
Nigel I cant get on to your site right now, otherwise Id try there first.
Im sure you experts will find lots of other elementary problems with my code to. Thanks in advance.
Code:
IntSub
bcf PORTA, 0
btfsc PORTA, 0
return
goto IntSub