C Language Development Kit/Functions/SetRTS

From OptiWiki

Jump to: navigation, search
Description Sets the level of the RTS line. Only works with COM0 (direct serial cable).
Syntax
void setRTS(int level);
Arguments
int level
Two values are defined for level:
ON The RTS line is made active.
OFF The RTS line is made not active.
Returns None
Remarks setRTS() is available on the PHL1700 and only works with COM0.

setRTS() has no effect when used on other communications ports. The default state of the RTS line is OFF.

Example
 


Views
Personal tools