I have my Arduino on /dev/ttyATH0. Arduino permanently sends data like "255" with a newline. How to read the last line from Arduino? I tried using tail -1 /dev/ttyATH0 but I should press I have my Arduino on /dev/ttyATH0. Arduino perm
I have my Arduino on /dev/ttyATH0. Arduino permanently sends data like "255" with a newline. How to read the last line from Arduino? I tried using tail -1 /dev/ttyATH0 but I should press I have my Arduino on /dev/ttyATH0. Arduino perm