Create a gist now

Instantly share code, notes, and snippets.

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