Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_iscts()</b> - return cts status http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_iscts() - return CTS status

   lCTS := tp_iscts(nPort)

   nPort       Serial port number.

   Returns     TRUE if CTS is set, FALSE if cleared.

   Returns the status of the CTS input: TRUE if CTS is asserted, FALSE
   if CTS is negated.  CTS is the Clear To Send input.  It is usually
   asserted in response to the computer's RTS (Request To Send) output,
   but may be negated if the other device is not ready to accept input.

   Example:

       if tp_iscts(1)
           ? "CTS is high"
       endif

See Also: tp_hshk() tp_mstat()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson