Hello,
Is this function "EscapeCommFunction" is correct to set RTS signal?
Here is my code.
I want to set on RTS before sending data to rs232, and set off RTS after sending data.
// RTS on.
EscapeCommFunction(*hComDevice, SETRTS);
// Sending data to port.
fWriteStat = WriteFile(*hComDevice, txbuf,(DWORD) iTxPosition,&dwBytesWritten, NULL) ;
// RTS off.
EscapeCommFunction(*hComDevice, CLRRTS);
It will work or not????
I have connected also Osc. but no singnal