Set/Get the Receive Pin
v = cpo:pin( [v] )
Set and/or Get the value of the receive pin control.
Value | Description |
---|---|
0 | COM Port off |
1 | DCE |
2 | DTE |
3 | Both |
4 | Auto Detect |
The Auto Detect mode senses the voltages on pins 2 and 3 to determine which way round the cable is connected, and adapt accordingly.