From 0476ebc2bfcbdcf991c4ac6362b74524e6525e99 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 5 Jan 2024 07:42:59 -0500 Subject: [PATCH] clear serial with -p in config --- config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config b/config index 2026b98d..9b3a372d 100755 --- a/config +++ b/config @@ -672,12 +672,15 @@ elif [ "$1" = "-p" ]; then echo "Real-time output from the serial port from the Pico:" echo - sleep 2 +# sleep 2 + timeout 2 cat /dev/serial0 > /dev/null timeout 3 cat /dev/serial0 elif [ "$1" = "-v" ]; then + echo "Real-time output from the INA219 voltage and current sensors:" + echo /home/pi/CubeSatSim/telem fi