Hi i wanted to make a software that can "Off" and "On" a computer fan connected with a usb can i make it in c++?? i have 1 year experience doing C++

Thanks,

Recommended Answers

All 2 Replies

well it depends whether the fan is controlled by the computer or whether it just uses the usb power

if its just controlling the power there is a post here:
http://stackoverflow.com/questions/1925237/control-usb-ports-power

if it has a driver and or api then either use the api or
http://sourceforge.net/apps/trac/libusb-win32/wiki

and here is some general usb interface advice:
http://www.beyondlogic.org/index.htm#USB

hope it helps

MattyRobot

Thanks man

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.