Hello, for instence in the opensource code to change modes you tap the button, and wait for the 10ms button de-bounce, how would you change that so you have to hold down the button to change modes?
I know in the code it says this 10ms, i have changed that to 300ms or 3 sec and compiled it and it is still just a tap. If you have any sujestions your help would be much appreciated.
Wait10ms
clrf TEMP2
movlw 0x0D
movwf TEMP1 ;rough 10ms timer for button debounce.