Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
I don't have Parallel port on my laptop but I need to light LEDs. I'm already doing the code but can't test it due to the above reason. Kindly hand me some help with this. Thanks and I will appreciate all the help you would give!
Posted 17-Sep-12 23:23pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It depends on your OS. You may find some useful info here Parallel Port Central - Programming[^].
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You can start by not writing that code. Parallel ports are not for driving LED's and you can blow the port up if you don't know what you're doing, which, let's be honest here, you don't.
 
Start with hardward that is more affordable to blow up, like something designed for the job.
 
You can check out Phidgets.com[^] for a PhidgetsInterfaceKey (look under I/O boards)
 
Or, if you're so inclinde to build a little hardware and teach yourself some digital electronics, a Netduino[^], or Arduino[^]. The difference here is that a Netduino runs the .NET Micro Framework and the Ardunio doesn't.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

The velleman K8055 USB interface card comes with sample VB.NET software examples (and several other languages).
It's fairly cheap and robust. There's also the VM167 unbuffered version. Again, with sample code.
 
They'll give you digital, analogue, PWM I/Os etc.
 
For the record though, until I got a K8055, I used the parallel port for everything and even now I still run a sound to light LED array from it. I've abused the port on every machine I've owned for many years and never damaged one.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,631
1 Sergey Alexandrovich Kryukov 6,345
2 CPallini 5,230
3 George Jonsson 3,574
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web03 | 2.8.140921.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100