How to send keystrokes to pc using the bs1?
![Luis_P](https://forums.parallax.com/uploads/userpics/943MO9HECKJ3/nO7HZN7DAZ7N6.jpeg)
Is hard to believe this cant be accomplished. I read a nuts & bolts document on how to send ASCII Commands to Serial port on a PC.
But doesnt work. I need the BS1 be able to act like a keyboard and send any key (a,b,c,1,2,3 ) to notepad or any other window application.
Do anybody knows how to do this? Please dont tell me to open an old keyboard and use it as an interface, too hard
Thanks Luis
But doesnt work. I need the BS1 be able to act like a keyboard and send any key (a,b,c,1,2,3 ) to notepad or any other window application.
Do anybody knows how to do this? Please dont tell me to open an old keyboard and use it as an interface, too hard
Thanks Luis
Comments
Code.. Wiring..
Gracias.
There are other programs out there such as Visual Basic capable of sending keystrokes to other applications, and receiving serial data from the serial port. That however would require you to write your own Program for that to work properly.
http://forums.parallax.com/showthread.php?t=116971&highlight=port+schwabe+Keyboard
There is something that the Basic Stamp can send to the PC and be recognized by the application? I guess the Basic Stamp has to be connected to the parallel port? or USB?
The Visual Basic running as an interface is easy:
10 If x = 1 then ' sent by the BS1 or BS2
sendkeys.send "{ENTER}"
end if
If x = 2 then ' sent by the BS1 or BS2
sendkeys.send "{TAB}"
end if
Goto 10