Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How does hardware generate binary codes?

For instance, keyboard generates scancode "1E" when I press "A". But how?

P.S.: I assume software only interprets and processes binary data (not generates it)

share|improve this question

closed as off topic by RedGrittyBrick, David Schwartz, slhck Nov 13 '12 at 8:21

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

You have a basic theoretical electronics question, not a problem using your computer. P.S. In a digital computer, ALL data is binary. – RedGrittyBrick Nov 13 '12 at 8:14
up vote 1 down vote accepted

A bit oversimplified, but you can think of it as the A key being wired to a circuit that produces the combination of signals that the computer (actually the keyboard controller) interprets as 1E.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.