116Views3Replies

Author Options:

How do buttons enter binary? Answered

I was just wondering how a push of one button can enter a series of binary signals to, say, a computer. I get how the digits one and zero would work (howstuffworks.com) but what about the digit 2, 3, abc, etc?

3 Replies

user
jordan4762 (author)2011-10-10

Well, Each computer character is composed of 8 binary characters. For example, a capital "A" is 01000001. So it doesn't just send a one or zero. Most processors now can handle 128 binary characters at a time. Which turns into 16 ASCII characters. So, that button is probably doing alot more than you think

Select as Best AnswerUndo Best Answer

user
welcome to the matrix (author)2009-10-03

loool .. it is really tooooooo hard to deal with binary code matrix code ....welcome to the matrix ... iam accepted by matrix welcome x "x-top.s@hotmail.com"

Select as Best AnswerUndo Best Answer

user
UziMonkey (author)2009-02-23

There will be some encoding involved. PC keyboards use scancodes. An 8-bit or 16-bit binary number is produced by the keyboard controller (on the keyboard itself) and sent over either the PS/2 or USB bus. The operating system or userspace program will then either use this scancode directly, or convert it to another encoding called ASCII. In short, you can only represent two keys with a single-bit binary number. To represent an array of more keys, a larger number is used.

Select as Best AnswerUndo Best Answer