Created
January 5, 2017 05:11
-
-
Save taesamja/3e5883b2029caf9395dbb5302810f422 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
# python 2.7 version | |
from serial import Serial | |
ser = Serial('COM6', 9600) | |
while 1: | |
print ser.readline() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment