reflow/serialmon.py

7 lines
109 B
Python
Raw Normal View History

2012-10-02 15:46:12 +00:00
#!/usr/bin/python
import serial
ser = serial.Serial('/dev/ttyUSB0', 9600)
while 1:
print ser.readline()