concerning the USB port

Apr 24, 2010 at 3:53pm
I was wondering. I am more of the electronic side of computers and not too savvy on the programmer side. but I was wondering. If I had an LED light hooked up to a usb port, how could I program, in C++, to turn that LED on and off?
Apr 24, 2010 at 5:11pm
It depends on the device. You will need a specification, but most manufacturers don't release them.
Apr 24, 2010 at 5:28pm
What is your OS?
Apr 24, 2010 at 7:20pm
I recommend ditching C++ for something like that, and using a much lower-level language.

If you want to use C++, you will, as chrisname more or less said, need a few technical documents about your OS and the system it's running on.

-Albatross
Apr 24, 2010 at 8:54pm
Apr 25, 2010 at 7:03am
I am not convinced about the hookup of an led directly to an usb cable that you could turn on and off.
I'll check my usb books.
Last edited on Apr 25, 2010 at 7:13am
Topic archived. No new replies allowed.