BASICSTAMP send key press ENTER(keyboard)
j4nk3r
Posts: 6
Can·BASICSTAMP send a command key press ENTER (keyboard) to a computer. ? Like barcode reader that can send ENTER key press if detect barcode.
Thanks
Thanks
Comments
http://www.selmaware.com/stampPlot_v3/ext_apps.htm
From the BASIC Stamp you can start an application and then send data to it
At times I used·it 'cheat' with some on-line games that had very repetative key strokes - hold a button on my BS2 board and have it send the·key·sequence [noparse]:)[/noparse]
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting Software
Southern Illinois University Carbondale, Electronic Systems Technologies
But i not get answer until now.
In my project i want that BASICSTAMP have detect sensor and basicstamp send key pressed to PC(computer) to do something.This key pressed has function to do something Like Ctrl+O(keyboard) on internet explorer to open File and so on or like barcode reader that detect barcode.
Here's an article on the PS/2 protocol and the connections required (in general): www.computer-engineering.org/ps2protocol/.
The Stamp is capable of generating the synchronous data stream using the SHIFTOUT statement. You'll need some external circuitry to provide
for the open-collector connection and you'll need to write your own "driver" to handle the communication between the PC and the Stamp, but it should be doable.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support