PDA

View Full Version : newbie... can't figure this out



nathan
02-24-2005, 08:58 PM
hello.. i'm very new to this.. and i was reading the Parallel Port tutorial #1, so i decided to give it a try.. i soldered up a wire to pin 2 of the parallel port, and sent that to a resistor. then i sent the other end of the resistor to the led.. then the other side of the led to pin 18. i wrote a program to send 0xFF or 0x00 as i wish... when i hook all of this up, the light stays on all of the time, even when i send 0x00.. it does not go on or off. any ideas?

sumandeep1984
02-25-2005, 02:42 AM
I would suggest u better use an external 5V power to drive the LED's. Just use the logic state of the port pins. By the way....is the resistor value, component condition all ok.

nathan
02-25-2005, 02:51 AM
i figured it out... permission in xp... but hey.. do you kno any other beginner tutorials i could read to get more in depth with stuff like this?

nathan
02-25-2005, 02:53 AM
i figured it out... permission in xp... but hey.. do you kno any other beginner tutorials i could read to get more in depth with stuff like this?

sumandeep1984
02-25-2005, 02:58 AM
use VB....it is not affected by the permission problems .... damn easy to use than C

02-25-2005, 04:04 PM
u can do it in XP

first keep bios settings to spp

then install userport.zip( u can get link from my post in Programming forum)


then u continue with C pgming

if any doubt
mail me
njbibin@sify.com
www.bibinjohn.tk

Vivek
02-25-2005, 09:51 PM
http://www.beyondlogic.org/porttalk/porttalk.htm


Beyond logic is a site good enough to be added to links section of RI.

cheers!