set_lines
Set and hold DTR/RTS serial lines to trigger PTT, reset a microcontroller, or signal a modem, leaving unspecified lines unchanged.
Instructions
Set the DTR and/or RTS output lines and hold them.
Uses: key a transmitter whose PTT is wired to RTS or DTR (set it True to transmit, False to stop; pulse_line is safer for that), hold an Arduino in reset (DTR False), or tell a modem you're present. Leave a line at None to keep it unchanged. Refused in read-only mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dtr | No | ||
| rts | No | ||
| connection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |