|
-
Oct 14th, 2005, 08:31 AM
#1
Thread Starter
Junior Member
Parallel Port and VB.NET
Hi all,
I am trying to write a program which will send data to the parallel port and light up some LEDs. I dun have problem on the programming part( i think) as i can send data to the parallel port. The problem is, when i send 0(zero) to the port, all LEDs is suppose to be OFF, but the first 3 LEDs still ON.
If you don't understand what am i talking about please visit http://www.codeproject.com/csharp/csppleds.asp
p/s: i dunno where to post this problem, so i post it here. any idea or solution are welcome ^^
Thank you in advanced
Hallie
-
Oct 14th, 2005, 12:57 PM
#2
Re: Parallel Port and VB.NET
What happens when you send &hFF? Do all the LED's come on?
Do the first three ever go off, whatever code you send?
Try sending codes of &H1, &H2, &H4, &H8, etc, to bring on one individual LED at a time.
Of course, it may be a wiring fault. Hope you haven't fried your parallel port.
-
Oct 15th, 2005, 12:25 AM
#3
Thread Starter
Junior Member
Re: Parallel Port and VB.NET
Yea, whatever code i send to it, the first three LED will light up.
I've been using that same old parallel port with my printer, no prob
Hallie, newbie to VB.NET 
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
|
Click Here to Expand Forum to Full Width
|