3 ways your keyboard works
1. Programming scan method: When the microcontroller is idle, the keyboard scan subroutine is called to scan the keyboard repeatedly, waiting for the user to input commands or data from the keyboard to respond to the keyboard input request. 2. Timing scanning mode: The single-chip microcomputer can also use timing scanning mode to scan the…