~alienagain/arduino_glass_computer

259dbf3b65e771358a471b6bb206293e1381be1d — terceranexus6 1 year, 6 months ago 21c8510
adding a script to save the input
1 files changed, 9 insertions(+), 0 deletions(-)

A read_tty.sh
A read_tty.sh => read_tty.sh +9 -0
@@ 0,0 1,9 @@
#!/bin/bash

while true; do
#	read -N1 < /dev/ttyUSB0
#	printf '%#x\n' "$rtn"
#	read -r line </dev/ttyUSB0 && printf "%s\n" "$line"
	cat < /dev/ttyUSB0 > logfile.txt 
#	strings logfile.txt | tail -n 1 
done