COMM-DRV/Lib: RtsOn() Turns RTS on

Description-

Turns the RTS signal on.

Syntax-

stat = RtsOn(port);

On Entry-

int port;

Port previously opened with OpenComPort().

On Exit-

int stat;

-1 If port was not initialized.

See Also-

DtrOff()
DtrOn()
RtsOff()

Example-

#include "comm.h"
int port=0;
 int stat;
if ((stat = RtsOn(port)) == -1)
    {
    printf("Port not initialized\n");
    /* Take remedial action */
   }