Go Down

Topic: Switch Debounce Problem in PIC16F690 (Read 396 times) previous topic - next topic

Abstr7ct

I'm having a lab problem for PIC16F690 chip. It's needed to write a software solution of switch debounce in Assembly and test the code on the LPC demo board of the PICKit2 using the push button that's connected to the MCLR pin of the chip. The effect of pushing down (ON)/releasing (OFF) the button should be noted on an LED. Here's a picture of the procedure of the program.



I've been attempting to grasp and then solve the problem by taking it apart but with no positive result. My latest attempt is attached in an ASM file. I would like to see your help.

Go Up