Other Parts Discussed in Thread: MSP430G2553
I'm trying to handle 3 separate push buttons on P1.3, P1.4, and P1.5 on an msp430g2553. I'm using some sample code to handle the interrupts generated by the buttons, and I can get which button is pressed, the problem is that I cannot figure out (or find) a good way to debounce the switches in code. How would I go about debouncing them using the PORT1_ISR to handle the button presses? I noticed that the switch on P1.3 is nicely debounced, how is that implemented, and can I somehow expand that debouncing to the other two switches?
Thanks!