cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
concerning the USB port
concerning the USB port
Apr 24, 2010 at 3:53pm UTC
drtt1gg3r
(5)
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 UTC
chrisname
(7395)
It depends on the device. You will need a specification, but most manufacturers don't release them.
Apr 24, 2010 at 5:28pm UTC
Null
(957)
What is your OS?
Apr 24, 2010 at 7:20pm UTC
Albatross
(4553)
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 UTC
Null
(957)
I found something:
http://www.libusb.org/
http://libusb-win32.sourceforge.net/
Apr 25, 2010 at 7:03am UTC
guestgulkan
(2942)
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 UTC
Topic archived. No new replies allowed.