Skip to content

Instantly share code, notes, and snippets.

Created Feb 12, 2017
What would you like to do?
Testing a serial port with ETG-4000
import serial
port = serial.Serial('COM1', 9600, timeout=0)
port.write('A \r')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment