Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4922

Button press duration after a PIC interrupt

$
0
0
Hi all, It has been awhile.

Awhile back I wrote a ISR program that tests whether a button press is debounced. but now, I want to
modify the program to test how long the button is pressed, after the interrupt is generated, so that the
program can make decisions about what action to make. My problem is that I do not know how to
approach the problem. If there is anyone that can help me by directing me in the correct direction I
would greatly appreciate it. My previous program was written...

Button press duration after a PIC interrupt

Viewing all articles
Browse latest Browse all 4922

Trending Articles