G
Gaijinco
How do you programm the ports of a computer?
Say I want to send a signal thru COM1 or an USB port?
Thanks
Say I want to send a signal thru COM1 or an USB port?
Thanks
Gaijinco said:How do you programm the ports of a computer?
Say I want to send a signal thru COM1 or an USB port?
Gaijinco said:How do you programm the ports of a computer?
Say I want to send a signal thru COM1 or an USB port?
Thanks
Martin said:You question is a little offtopic,
but here is a small hint:
Reading from a comport (windows):
ifstream InputFile("COM1");
InputFile.read(Buffer, NumberOfBytes);
InputFile.close();
On Unix, the names of the comports are like
"/dev/ttyS0" (don't know the exact name).
-Martin
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.