Click here to Skip to main content
15,921,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Create and Access Hardware? Pin
John M. Drescher2-Jul-03 9:18
John M. Drescher2-Jul-03 9:18 
GeneralRe: Create and Access Hardware? Pin
David Crow2-Jul-03 10:01
David Crow2-Jul-03 10:01 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 10:54
Selevercin2-Jul-03 10:54 
GeneralRe: Create and Access Hardware? Pin
David Crow2-Jul-03 16:54
David Crow2-Jul-03 16:54 
GeneralRe: Create and Access Hardware? Pin
jhwurmbach3-Jul-03 1:19
jhwurmbach3-Jul-03 1:19 
AnswerRe: Create and Access Hardware? Pin
Trollslayer2-Jul-03 11:14
mentorTrollslayer2-Jul-03 11:14 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 12:33
Selevercin2-Jul-03 12:33 
GeneralRe: Create and Access Hardware? Pin
Trollslayer2-Jul-03 13:02
mentorTrollslayer2-Jul-03 13:02 
The serial ports (COM ports) on your PC have transmit and receive data lines, plus some input and output lines which can be used to control data flow. The standard is RS232.
[^] provides a sample pinout. These signals are driven between +10 and -10 volts and certain ones can be used as individual inputs and outputs with a little electronics. Using a serial class which allows control of individual lines will let you use 2-3 output lines withotu having to write device drivers and is a lot cheaper than buting an I/O card to put inside the PC.

In your case, two output RTS and DTR are available on a standard PCserial port connector. If two ar enough then you're ok. If you need a lot more than two then it might be best to look at adding a digital I/O card to your PC since these usually come with device drivers.

Elaine Rose | [Rose]

The tigress is here Big Grin | :-D
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 14:38
Selevercin2-Jul-03 14:38 
GeneralRe: Create and Access Hardware? Pin
Trollslayer3-Jul-03 4:42
mentorTrollslayer3-Jul-03 4:42 
GeneralRe: Create and Access Hardware? Pin
Trollslayer2-Jul-03 13:05
mentorTrollslayer2-Jul-03 13:05 
AnswerRe: Create and Access Hardware? Pin
Gordon Brandly2-Jul-03 11:26
Gordon Brandly2-Jul-03 11:26 
Generalerror: LNK2001 Pin
DaveE9th2-Jul-03 8:00
DaveE9th2-Jul-03 8:00 
GeneralRe: error: LNK2001 Pin
AlexO2-Jul-03 9:31
AlexO2-Jul-03 9:31 
GeneralRe: error: LNK2001 Pin
DaveE9th2-Jul-03 12:16
DaveE9th2-Jul-03 12:16 
GeneralXML Reader/Writer Pin
RK_20002-Jul-03 7:30
RK_20002-Jul-03 7:30 
GeneralRe: XML Reader/Writer Pin
David Crow2-Jul-03 10:08
David Crow2-Jul-03 10:08 
GeneralRe: XML Reader/Writer Pin
RChin3-Jul-03 23:07
RChin3-Jul-03 23:07 
GeneralWinSock help Pin
Steven M Hunt2-Jul-03 7:21
Steven M Hunt2-Jul-03 7:21 
GeneralRe: WinSock help Pin
Ken Mazaika2-Jul-03 7:50
Ken Mazaika2-Jul-03 7:50 
GeneralRe: WinSock help Pin
Gregory Elbert2-Jul-03 7:54
Gregory Elbert2-Jul-03 7:54 
GeneralRe: WinSock help Pin
valikac2-Jul-03 10:10
valikac2-Jul-03 10:10 
Generaloleauto.h errors Pin
johnstonsk2-Jul-03 6:35
johnstonsk2-Jul-03 6:35 
GeneralRe: oleauto.h errors Pin
AlexO2-Jul-03 6:59
AlexO2-Jul-03 6:59 
GeneralRe: oleauto.h errors Pin
johnstonsk2-Jul-03 7:51
johnstonsk2-Jul-03 7:51 

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.