Switch on/off LED - programmatically

Discussion in 'Homework Help' started by feli, Apr 29, 2011.

  1. feli

    Thread Starter New Member

    Apr 24, 2011
    Hi everybody,

    I would like to write a program in "Visual Basic" containing one "on" button and one "off" button. When I press the "on" button the LED bulb should glow and pressing "off" button the LED should not glow. How do I send signals? Help me please

    Thank you
  2. n1ist

    Senior Member

    Mar 8, 2009
    How do you plan to connect the LED to the computer? Probably the easiest would be to use one of the handshake lines on the serial port if you have one...