Help for Code to Attach 2 Buttons on Serial Port
I need code to read a serial port state in which I have 2 buttons attached to some configuration on pins 1-9. The program will then, when one of the buttons are pushed, right arrow or left arrow as a keyboard command.
I have VB .net 2005. Any help will be appreciated.
Re: Help for Code to Attach 2 Buttons on Serial Port
Being a novice at programming; I have been unsuccessful in finding a solution to this problem. I'm not looking to transmit data. I just want to send a signal using the serial port to a program that I'm writing. An external program that I'm using turns pages by the use of pressing the arrow keys. I want to create a foot switch that will turn the page forward or reverse.
Re: Help for Code to Attach 2 Buttons on Serial Port
I found a switch program that used pin 7to8 for one switch and pins 6to4 for the other. However the program is compiled so I can't look at the code. Any ideas?