COMM-DRV/Lib: RtsOff() Turns RTS off

Description-

Turns the RTS signal off.

Syntax-

stat = RtsOff(port);

On Entry-

int port;

Port previously opened with OpenComPort().

On Exit-

int stat;

-1 If port was not initialized.

See Also-

DtrOn()
RtsOff()
RtsOn()

Example-

#include “comm.h”

int port=0;
int stat;

if ((stat = RtsOff(port)) == -1)
{
printf(“Port not initialized\n”);

/* Take remedial action */
}