How to IO with C++ and serial port?

Thread Starter

PRS

Joined Aug 24, 2008
989
I recently bought a USB to serial port adapter for experimenting with. Trouble is, I don't know how to read and write to it. There were no intructions. I installed the drivers with a cd but it only told me it was COM4. Is that enough information for me to use it with C++? What would the command be to read or write? I'd sure appreciate any help! ;)
 

t06afre

Joined May 11, 2009
5,934
With the driver the USB dongle should be seen as any "real" serial port from windows. So just use standard serial functions. I am sure you can find out how via Google
 
Top