Return State of DTR Line

dsr, flow, man = serial.getdtr(portn)

Parameter Type Description
portn integer Port number 1-4
Returns Type Description
dtr integer 1 = asserted; 0 = unasserted
flow integer 1 = TX flow control; 0 = no flow
man integer 1 = manual script control; 0 = firmware control