python_client/read_accelerometer.py | ●●●●● patch | view | raw | blame | history |
python_client/read_accelerometer.py
New file @@ -0,0 +1,7 @@ #!/usr/bin/python3 #use as: read_accelerometer > output_file.dat with serial.Serial('/dev/ttyUSB1', 115200, timeout=0) as ser: line = ser.readline() print(line);