ansh11
Member level 4
Hi
I usually use software delay for switch debouncing. I just add a 50ms delay after the first bounce. I want to use hardware timer in place of software delay. Assume hardware timer start and stop at every 1ms
What I want is, Whenever I press switch, pin of PIC microcontroller should be on/off for 30ms.
This is a only question that has nothing to do with the actual project.But I want to know how it can be done.
I usually use software delay for switch debouncing. I just add a 50ms delay after the first bounce. I want to use hardware timer in place of software delay. Assume hardware timer start and stop at every 1ms
What I want is, Whenever I press switch, pin of PIC microcontroller should be on/off for 30ms.
This is a only question that has nothing to do with the actual project.But I want to know how it can be done.