Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
We have a project on dot matrix display that would accept input from a keyboard. I would like to know how i can retrieve a keyboard scan code from its port since we will make a controller for it. I have searched everywhere but all i see are about the scan codes only. All i know is that there is a DATA pin where the scan codes are sent (PS/2) that are 8 bits long. I'm confused as to how a single pin can hold 8 bits. I'd very much appreciate any input regarding the issue.
I am amazed that you are going to make a micro-controller and your are asking how can one pin hold 8 bits? Get yourself a book on digital circuit design.
Signal is sent over clock frequency - 1 bit over each pulse of the clock - in addition to parity check signal (to check if data is corrupt).
Sorry for not knowing that since my last and first micro-controller had like 20 pins with both port 1 and port 3 have 8 pins. Anyway, I understand already. I'll try to research more or maybe degrade our project.