reflow/serialmon.py

7 lines
109 B
Python
Executable File

#!/usr/bin/python
import serial
ser = serial.Serial('/dev/ttyUSB0', 9600)
while 1:
print ser.readline()