1 2 3
Command for logging: > socat file:/dev/ttyACM0,nonblock,raw,echo=0,b9600 stdout | ts "%s " | sed '/NAN/d; s/ 0 / /;' > temp.log