serGetCTS (Function) |
Top Previous Next |
serGetCTS returns the state of the CTS signal. This function is only supported on serial ports with control signals (typically serial port 1). The function does not work when hardware handshake is activated (see the serSetHandshake function).
Input: port : SINT (0..127) (default 1) Selects which serial port to use.
Returns: BOOL
Declaration: FUNCTION serGetCTS : BOOL;
Example: INCLUDE rtcu.inc |