-
November 1st, 2004, 09:45 PM
#1
Senior Member
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
-
November 2nd, 2004, 05:55 AM
#2
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
-
November 2nd, 2004, 12:20 PM
#3
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
-
Forum Rules
|
|