Samo Penic
2022-05-20 3e4d4c2df4f4be8447ce268f4de0688610c0bbda
Added python script
1 files added
7 ■■■■■ changed files
python_client/read_accelerometer.py 7 ●●●●● 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);