Hi, How did you implement the debounce? Are you sure the debounce did not totally filter out the input? Is this your custom PCB or LaunchPad? The reason I ask is because if you run on a LaunchPad, the LaunchPad does not use PM0 for a switch but instead uses PJ0 and PJ1 as switches. Why don't you modify your code to try out PJ0 (SW1) or PJ1 (SW2) and make sure it works on a LaunchPad. You can then compare with your existing code for PM0 if that is what you implemented on your custom board.
↧