Posts: 273
Threads: 51
Joined: May 2002
hmmm, it's giving me 223. I would still need to be able to access individual pins.
p.s. Tell me how you found them
Posts: 137
Threads: 9
Joined: Feb 2004
223 almost always = "printer ready" If you can get a map of the pins and which ones are used by the return codes, you should be able to pull the individual bits from that value, as it changes.
To send something to the port, use the next port down, 632 or 888. 634 and 890 do stuff to, but I don't really remember what.
Jonathan Simpson
onathan Simpson
Posts: 273
Threads: 51
Joined: May 2002
I'm sure there is a simpler way. It's not urgent that I get this now, but I'll try to look up the specs while waiting for another response. Maybe I can use interrupts. But thanks anyways for your help Jonathan
Posts: 137
Threads: 9
Joined: Feb 2004
Sounds reasonable. As far as I know, there is no way to do it using interupts... and I have done LOTS of stuff with the printer port, so it would kind of surprise me if there was. Anyway, I'll still ask Dale tonight, but if someone else knows something, I wouldn't mind hearing it myself
Sorry I couldn't help you more.
Jonathan Simpson
onathan Simpson
Posts: 63
Threads: 10
Joined: Jan 2003
Quote:Any documentation out there on parallel port programming? Which ports or addresses needed to access certain pins in other words...Thank you
Here's one of the best parallel port resources I've found. Lots of reading, but just about everything you'ld need to know about ports, including programming examples:
http://www.lvr.com/parport.htm
Dex
Posts: 273
Threads: 51
Joined: May 2002
Nice, I think I'll be able to find what I'm looking for here 8)
Posts: 1,752
Threads: 21
Joined: Jun 2002
Here's
another article and
QB program that may be useful. Also, if you're running Windows NT/2K/XP, you won't be able to access the parallel port. To fix this, you'll need to set up a driver called
giveio.sys.
Posts: 273
Threads: 51
Joined: May 2002
Perfect, thanks. Just what I was looking for. I should be able to figure it now.
Posts: 63
Threads: 10
Joined: Jan 2003
Plasma; Ditto on the thanks for the AaronCake webpage.
That was some excellent, and succinct info on the parallel port. :wink:
Edit: I was looking over that webpage, trying to figure out where I'ld heard that name, and seen that page before. Then I stumbled upon the car MP3 page in the "Projects" section, and remembered. I use this same screen name over at the
MP3Car.Com forum.
Posts: 273
Threads: 51
Joined: May 2002
Here's something interresting I found:
http://www.dreamcliff.com/personal/danie...index.html
(Check the specifications page)
Plans to build your own multi-joystick interface to connect through your parallel port. Can support 2-5 joysticks at once. Any joystick can be used with a little re-wiring.