Click here to Skip to main content
15,916,601 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTurn on\off a LED connected to USB port Pin
Joseph Marzbani31-Mar-08 8:39
Joseph Marzbani31-Mar-08 8:39 
GeneralRe: Turn on\off a LED connected to USB port Pin
led mike31-Mar-08 8:42
led mike31-Mar-08 8:42 
GeneralRe: Turn on\off a LED connected to USB port Pin
CPallini31-Mar-08 10:18
mveCPallini31-Mar-08 10:18 
QuestionRe: Turn on\off a LED connected to USB port Pin
Maximilien31-Mar-08 15:59
Maximilien31-Mar-08 15:59 
GeneralRe: Turn on\off a LED connected to USB port Pin
CPallini31-Mar-08 21:31
mveCPallini31-Mar-08 21:31 
GeneralRe: Turn on\off a LED connected to USB port Pin
Cedric Moonen31-Mar-08 20:28
Cedric Moonen31-Mar-08 20:28 
QuestionRe: Turn on\off a LED connected to USB port Pin
CPallini31-Mar-08 21:54
mveCPallini31-Mar-08 21:54 
GeneralRe: Turn on\off a LED connected to USB port Pin
Cedric Moonen31-Mar-08 22:01
Cedric Moonen31-Mar-08 22:01 
The difference is that the LED is not connected directly on the USB (it would be possible to do such a thing on a serial port, where you could set the voltage of one pin high or low, and of course some electronics to manage it). In the case of USB, you need to have something more intelligent that communicates with a driver on your PC Smile | :)

In the case of keeping your coffe warm, you probably also install a driver on your PC. And if you wanted to write a program to be able to change the temperature of the coffee (or anything else), you would need to communicate with the driver, not access the USB port directly. That makes a big difference.

Cédric Moonen
Software developer

Charting control [v1.3]

GeneralRe: Turn on\off a LED connected to USB port Pin
CPallini31-Mar-08 22:06
mveCPallini31-Mar-08 22:06 
GeneralPausing Audio feedback.... Pin
goodoljosh198031-Mar-08 7:18
goodoljosh198031-Mar-08 7:18 
GeneralRe: Pausing Audio feedback.... Pin
Mark Salsbery31-Mar-08 7:42
Mark Salsbery31-Mar-08 7:42 
GeneralRe: Pausing Audio feedback.... Pin
Hamid_RT7-Apr-08 2:48
Hamid_RT7-Apr-08 2:48 
GeneralChanging the background colour of a dialog Pin
Nitheesh George31-Mar-08 7:14
Nitheesh George31-Mar-08 7:14 
GeneralRe: Changing the background colour of a dialog Pin
Saurabh.Garg31-Mar-08 7:24
Saurabh.Garg31-Mar-08 7:24 
GeneralRe: Changing the background colour of a dialog Pin
MANISH RASTOGI31-Mar-08 18:23
MANISH RASTOGI31-Mar-08 18:23 
GeneralRe: Changing the background colour of a dialog Pin
kutti31-Mar-08 21:22
kutti31-Mar-08 21:22 
GeneralRe: Changing the background colour of a dialog Pin
Hamid_RT7-Apr-08 2:48
Hamid_RT7-Apr-08 2:48 
Generalwin32 statusbar Pin
Sabry190531-Mar-08 7:07
Sabry190531-Mar-08 7:07 
GeneralRe: win32 statusbar Pin
led mike31-Mar-08 7:11
led mike31-Mar-08 7:11 
GeneralWM_CHAR / OnChar Pin
bob1697231-Mar-08 6:51
bob1697231-Mar-08 6:51 
GeneralRe: WM_CHAR / OnChar Pin
Mark Salsbery31-Mar-08 7:02
Mark Salsbery31-Mar-08 7:02 
GeneralRe: WM_CHAR / OnChar Pin
bob1697231-Mar-08 7:45
bob1697231-Mar-08 7:45 
GeneralRe: WM_CHAR / OnChar Pin
led mike31-Mar-08 7:31
led mike31-Mar-08 7:31 
GeneralRe: WM_CHAR / OnChar Pin
bob1697231-Mar-08 7:50
bob1697231-Mar-08 7:50 
Generalundeclared identifier "class" Pin
VonHagNDaz31-Mar-08 5:40
VonHagNDaz31-Mar-08 5:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.