simpe USB programming on Windows?

All questions regarding Windows programming, post here. API,COM, ActiveX, DirectX, OpenGL, MFC and so on...

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard

simpe USB programming on Windows?

Postby gth759k » Fri Oct 08, 2010 6:43 pm

I'm not new to c++ but I've never done anything with usb before and I've been browsing the web for hours and I can't find any simple tutorials on usb programming. I don't need to know 50 pages of usb specifications! I just want to do the absolute simplest thing. I have a usb cord cut from an old hub that reads 5 volts on my multimeter. How would I do something really, REALLY simple, like turn the 5 volts on and off?
gth759k
 
Posts: 1
Joined: Fri Oct 08, 2010 6:30 pm

Re: simpe USB programming on Windows?

Postby Allon » Sat Jan 07, 2012 1:42 pm

I have new hardware programming (especially USB), so please forgive me and my problems. I use C + +, I need to send / receive some data to / from a USB port on the microprocessor board (an array of bytes).
Now, I did some serial port programming, I know, a serial port, you must open a port, install, execute I / O, and finally close the port. I guess using a USB port, it is not simple, as I mentioned above.
Allon
 
Posts: 7
Joined: Sat Jan 07, 2012 12:13 pm


Return to Windows Programming

Who is online

Users browsing this forum: Google Adsense [Bot] and 6 guests