Go Down

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


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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131