To communicate the results of your program with the interfaced hardware, you need the serial communication.
First add the file serial.cpp to your project.
Syntax:
WriteComPort("COM2","f"); // COM2-COM port, f- character to be sent
Don't forget to check your COM port to which your hardware is connected.
First add the file serial.cpp to your project.
Syntax:
WriteComPort("COM2","f"); // COM2-COM port, f- character to be sent
Don't forget to check your COM port to which your hardware is connected.
3 comments:
kindly Provide us the path to download serial.cpp
Right, provide us the path to dowload serial.cpp
We truely need it.
Download the files at http://dl.dropbox.com/u/39448368/serial_files.rar
Post a Comment