Keyboard Input
HEDGE
Posts: 8
I'm using the BS2 Discovery Kit;·this kit is very useful when it comes to displaying information.· I've created a digital voltmeter to read the voltage through a resistive bend sensor.· How would I go about using this displayed information to enable some type of computer action?· I want the computer to enable a keystroke when the voltage in the sensor is at a certain value.· This keystroke will then accompany a code written in Visual Studio to perform an action when that key is pressed.· If this is not possible, please let me know.
Comments
You can send information from the BS2 to the programming serial port with "SEROUT 16, 16468, [noparse][[/noparse]"Hi there!", CR]"
Then, you write your program in Visual Studio to read the serial port, and take some action based on what it gets from the BS2.
This is MUCH easier than trying to emulate a keyboard interface with the BS2.