diff --git a/Perso/serialToCSV.sh b/Perso/serialToCSV.sh new file mode 100755 index 0000000..aadd5df --- /dev/null +++ b/Perso/serialToCSV.sh @@ -0,0 +1,13 @@ +#! /bin/bash + +stty -F /dev/ttyACM0 115200 raw -echo -echoe -echok + +rm -f ./serialOutput/serialOutput.csv +touch ./serialOutput/serialOutput.csv + +while true; do + read line < /dev/ttyACM0 + echo $line >> ./serialOutput/serialOutput.csv +done + +python3 /home/trotfunky/Programmation/Git/Python/extraction_asserv.py \ No newline at end of file