To ansmer yours questions, i would like to make a C or C++ program which communicate via the serial port COM1 to a device. The device is a screen plasma. I would like the program to remote the sreen : switch on, switch off, change channel ...

The serial communication setting is :

Baud : 4800 BPS

Data length : 8 bits

Parity : none

Stop bit : 1 bit

Flow control RTS/CTS

Communication code : ASCII code

Reception time out : 4 seconds

To do it, I need to send ASCII code. For exemple, to switch off the screen i must send the "%A0001" code.

I need to receive the acknoledgment to know if it has been well done. (code for good receive : "@S")

Thanks for your help.

Canarich

 



Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !

Reply via email to