serverhost

fix
This commit is contained in:
Lucas Faber authored and Lucas Vivohost committed 2026-09-14 09:20:47 +02:00
1 parent 24736d0577
commit 84dfdf5210
38 files changed
+3146

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
>/home/lucas/arduinoOut.txt
while true # loop forever
do
date >> /home/lucas/arduinoOut.txt
data=$(cat /dev/ttyACM0 | head -n 20 | tail -n 20)
printf "$data" >> /home/lucas/arduinoOut.txt
#printf "$(date)\n$data\n"
done