Port.dtr readwrite



Sets/gets the "Data Terminal Ready" control signal of the serial port, using the following possible values :

  • "enabled": DTR signal is always active
  • "disabled": DTR signal stays inactive
  • "handshake": DTR signal is used for hardware handshaking
If the current dtr state cannot be retrieved, this property returns nil

Example

{{example}}