Instrument control package: Difference between revisions

Jump to navigation Jump to search
m
Line 103: Line 103:
set(s1, "stopbits", 2)    # Changes stop bits (config becomes 5-E-2), possible
set(s1, "stopbits", 2)    # Changes stop bits (config becomes 5-E-2), possible
                           # values 1, 2.
                           # values 1, 2.
set(s1, "dataterminalready", "on")  # Enables DTR line
set(s1, "requesttosend", "on")      # Enables RTS line
                                    # possible values "on", "off".
</syntaxhighlight>
</syntaxhighlight>
}}
}}

Navigation menu