Results 1 to 3 of 3

Thread: LPT tool

  1. #1
    Senior Member
    Join Date
    Jul 2003
    Posts
    166

    Lightbulb LPT tool

    Hi all,
    I'm writing a program that reads the parallel port, but I need some kind of software that simulates input to parallel port to test my program. I googled for such tool but can't find anything. If anybody knows some tool pls givea link or a name

  2. #2
    Senior Member
    Join Date
    Jul 2002
    Posts
    339
    Hi,

    Can you write something first to the parallel port, and then read it back? The tasks could be written in two separate programs (one for writing and one for reading), or in the same program.

    [hard way]
    Or you may want to go to the hard(ware) way... Source (or sink) one or more data pins to logic 1 (or 0) with a stable 5V power supply (or ground).
    [/hard way]

    Oh, and this kind of question should be posted to general programming section next time.

    Peace always,
    <jdenny>
    Always listen to experts. They\'ll tell you what can\'t be done and why. Then go and do it. -- Robert Heinlein
    I\'m basically a very lazy person who likes to get credit for things other people actually do. -- Linus Torvalds


  3. #3
    Senior Member
    Join Date
    Jul 2003
    Posts
    634
    http://www.lvr.com/parport.htm

    Theres an excellent phrack article on programming the parrellel port, have a look on there site in the archives.

    I think some of the inputs are bi-directional so you maybe able to write to some inputs that can act like outputs?

    What you trying to do with this? anything to do with dongles?

    It might be easy if youve got 2 computers to have one "fire" bits at the other though a specially made cable

    i2c

Posting Permissions

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