0
votes

I have USB to IEEE-1284

I want to Control 2 LED using Computer via USB to IEEE-1284. I have two on my C# program.

I want to each button lighted each led. First LED is Connected to D0, Second LED is Connected to D1.

Heres My USB to IEEE-1284 Pin Configuration:

http://i.stack.imgur.com/b75Z5.png

In internet all codes that i found were only controlling real Parallel Port not USB to IEEE-1284. I tried using inpout.dll library (i wrote address 1 (I was searching for address in Device Manager But my USB IEEE-1284 was showing as USB Printing Support Heres ScreenShot: https://dl.dropboxusercontent.com/s/tvyiilh0fhna2kh/Capture2.PNG) and value 1)

How to fix that?

2
These outputs cannot directly drive an LED, they are open collector outputs. You'll have to bring your own power supply and a current limiting resistor. Ask questions about this at electronics.stackexchange.com - Hans Passant

2 Answers

0
votes