Created
February 12, 2017 18:37
-
-
Save erzk/3dc9c4733a2e8ac26097b28f61be23c8 to your computer and use it in GitHub Desktop.
Testing a serial port with ETG-4000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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