I am doing a project using LPC1769. I intend to use an interrupt for a push button and initially everything is working. However, when I introduce a motor and printf() to my project, my program doesn't work as I expected. I connect L293D to port2 pin 4 and 5 GPIO of LPC to drive my motor and I using port1 pin 31 for my push button.When I run my program, the program like keep printing hello and interrupt to the EINT3 handler more than once when I press the push button. Attached is my C program,could anyone tell me what is going wrong? Is it the switch debouncing problem?Thank you