Thread: Control LED by parallel port program

  1. #1
    Registered User
    Join Date
    Jul 2011

    Post Control LED by parallel port program

    Hello everyone..

    I want to write a code which can light a LED bulb through a parallel port.
    I don't have a big knowledge in c++ programming.
    And very little knowledge in parallel port programming.

    Can anyone help me out with this?

    I'm using windows 7,Visual Studio 2010.Do i need any kind of driver to control the parallel port?
    Can i get this work done by a USB port?
    All i need is to light a LED (Basically output a voltage level high and low)


  2. #2
    Registered User
    Join Date
    Dec 2006
    You can certainly do it over USB with something like a FT232, but you'll have to design a circuit for that.

  3. #3
    Registered User
    Join Date
    Jun 2005
    For programming the parallel port, a good start is here.

    I assume you know how to construct a circuit with a LED and resistor in series from a parallel port pin to earth. Bear in mind that drawing too much current from a parallel port pin is a good way to blow the parallel port.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  4. #4
    Registered User
    Join Date
    Oct 2006
    check this out too

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. parallel port control prblem
    By frank_hugo_1100 in forum C Programming
    Replies: 1
    Last Post: 02-26-2010, 01:00 AM
  2. Replies: 3
    Last Post: 02-29-2008, 01:29 PM
  3. programming the parallel port to control device
    By griffmaster2005 in forum C Programming
    Replies: 3
    Last Post: 02-14-2005, 07:50 AM
  4. Simple Parallel Port Control
    By BigSter in forum C++ Programming
    Replies: 2
    Last Post: 11-15-2001, 10:51 PM
  5. Full control of parallel port?
    By The V. in forum Windows Programming
    Replies: 1
    Last Post: 10-28-2001, 03:24 PM

Tags for this Thread