This file of ECET 340 Week 3 HomeWork 3 shows the solutions to the following points:
1. Sketch a circuit that can be used to debounce a pushbutton and explain how it works. 2. In Figure 7.32 on page 339 of the Huang textbook, if the row has PA3-PA0 = 1101 and the columns are PA7-PA4 = 1110, which key is pressed? 3. In Figure 7.32 on page 339 of the Huang textbook, explain why the 10k? resistors ties to VCC are required. 4. Write down the lines of C code (interrupt service routine, ISR) that generates an interrupt when Port H pin 0 becomes a logic