Results 1 to 3 of 3

Thread: Help for Code to Attach 2 Buttons on Serial Port

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2008
    Posts
    9

    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.
    Last edited by mmcginnis; Jul 1st, 2009 at 08:18 AM. Reason: Clarification

  2. #2

    Thread Starter
    New Member
    Join Date
    Sep 2008
    Posts
    9

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2008
    Posts
    9

    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?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width