Created
June 2, 2017 04:28
-
-
Save JonnoFTW/52bef30e7d71adc022fa754abf0c7a7b to your computer and use it in GitHub Desktop.
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
ser = serial.Serial(path, baudrate=38400, timeout=1) | |
ser_io = io.TextIOWrapper(io.BufferedRandom(ser), | |
newline='\r', | |
line_buffering=False, | |
encoding='ascii') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment