Pages: [1]   Go Down
Author Topic: Switch Debounce Problem in PIC16F690  (Read 332 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

* activity5.asm (1.55 KB - downloaded 8 times.)
Logged

Pages: [1]   Go Up
Jump to: