C++ USB control

Hello friends i want to ask you if you can give me advice what i should learn in C++ to control USB things...

I must do 1 job in school to control 3 LED Diodes < PIC Micro controller <( USB or other PORT ) < Computer

Example : I got Red / Green / Blue diodes

in win32 i write Red and Red Turn On i write Green Green Turn on and ...

Thank you before
Well you can always use an arduino. They have some simple usb protocols.

(edit)500
Last edited on
i am not sure my teacher will accept it :( arduino is something like PIC ?
Ya, it's based on the AVR micro.

You can also get a 3rd party lib. And you can get a usb to serial adapter.
I agree with ultifinitus, the easiest way is to use a USB to RS232 adapter. Otherwise you'll need the USB code for the AVR. FTDI make a number of USB to serial IC's and provide drivers for the PC.
mob has cleared all the things in one post. I completely agree with him.
Topic archived. No new replies allowed.