- Name
-
SetDTR -- set DTR pin state for serial port connection (V8.0)
- Synopsis
-
SetDTR(id, state)
- Function
-
This command can be used to set the DTR pin state for the serial port connection specified
in
id
. This serial port connection must have been opened using OpenSerialPort() before.
You have to pass the desired state in the state
parameter. This must be one of
the following special constants:
#DTR_ON:
-
Set the DTR pin.
#DTR_OFF:
-
Clear the DTR pin.
- Inputs
-
- id
- identifier of the serial port connection to use
- baud
- desired DTR pin state
Show TOC