ps2 keyboard sx28 and diagram
WillWagner
Posts: 2
Hi there-
Experienced gadgeter and programmer here, new to SX28.· Where can I find a simple wiring diagram and some sample code to explain connecting a canibalized HP PS2 keyboard to the SX28?
Thanks in advance.
Will
Experienced gadgeter and programmer here, new to SX28.· Where can I find a simple wiring diagram and some sample code to explain connecting a canibalized HP PS2 keyboard to the SX28?
Thanks in advance.
Will
Comments
shows how to connect an AT keyboard to some
microcontroller (not sx though) and it
has sample code that should be easy to translate to sx
regards peter
·
the ShiftIn command in SX/B does not execute fast enough for this type of async comm, but by dropping in a ShiftIn Command and compiling it, you can see how the operation works enough to pair down the code to uh....essentially what peter was kind enough to point me to. [noparse]:)[/noparse]
-Will
Cheers,
Stephen
· One "trick" is that if you need the·SHIFTIN to run 10 times faster, just make a simple SXB program with·the frequency 10 times SLOWER with the SHIFTIN command, then compile it and copy the assembly code and paste it into your project within an ASM...ENDASM block.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module"·available from Parallax for only $28.95 http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module"·available from Parallax for only·$49.95 http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
Available now! Cheap 4-digit LED display with driver IC·www.hc4led.com
"I reject your reality, and substitute my own." Mythbusters
·