Set serial RTS pin
setRTS(device,true)
setRTS(device,false)
example
setRTS(device,true) sets the specified serial request to send (RTS) pin.
device
setRTS(device,false) resets the specified RTS pin.
collapse all
Set and then reset the serial RTS pin.
s = serialport("COM3",9600); ⋮ setRTS(s,true) ⋮ setRTS(s,false)
serialport
Serial port, specified as a serialport object.
Example: serialport()
serialport()
setDTR