Greetings,
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.
Page 1 of 1
Keyboard output to it's port
#2
Posted 01 December 2010 - 10:16 AM
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).
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).
This post has been edited by Romeo29: 01 December 2010 - 10:17 AM
#3
Posted 01 December 2010 - 10:39 AM
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.
Share this topic:
Page 1 of 1

Help


Back to top









