Maker Pro
Maker Pro

PS keyboard

C

cubanflyer

Jan 1, 1970
0
Hi

I wish to input data from a pc keyboard to a pic, has anybody else tried
this.
 
T

Tim H.

Jan 1, 1970
0
cubanflyer said:
Hi

I wish to input data from a pc keyboard to a pic, has anybody else tried
this.

I made a keyboard emulator, so I had to simulate a keyboard transmitting.
However, the protocol is nearly the same between keyboard <-> PC.

Have a looksie:

ftp://nutsvolts.com/kbe.txt

As Wouter said, Google is your friend.

-Tim
 
C

cubanflyer

Jan 1, 1970
0
Hi thanks for the replies.

heres what I want to do.

I have a number of 1 wire devices, and I want a table containing their 64bit
ID and a reference name which the user can type in, I would like to make the
input as easy as possible for user to input the reference details. I am
looking at interfacing the pic to a computer using RS232 but would like to
plug in a nice cheap keyboard to input the details.
 
H

happyhobit

Jan 1, 1970
0
Hi cubanFlyer,

PC keyboards use scancodes. It is not ASCII.

Press a key, generate a scancode. Release a key generate a scancode.
Press 2 keys generate 2 scancodes. Etc.

Do a Google on 'keyboard' and 'scancodes'.

Jay
 
Top