Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

How to Interface a Microcontroller with a PS/2 Keyboard

In most of the case, it’s highly important when you’re moving from basic microcontroller programming to advanced microcontroller programming, especially if you wants to interrupt the code. Technically, interrupts are pieces of code that much likes functions. The interrupts are executed automatically when outside events occur. People always used the interrupts to react to all sorts of outside inputs; including pin changes that driven by outside devices. By using the interrupts, it enables the users to give the code an ability to react to events as they happen. In this case, we don’t have to wait for the code to get to a place where it can handle an event. For your information, the project uses interrupts to interface a PS/2 keyboard with the USB NerdKit. To be honest, the… Continue reading