added -v and -p config options

pull/294/head
Alan Johnston 2 years ago committed by GitHub
parent 287489fd93
commit f9920c4462
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -180,6 +180,8 @@ elif [ "$1" = "-h" ]; then
echo " -q Change the Squelch setting for command receiver" echo " -q Change the Squelch setting for command receiver"
echo " -F Change the rx and tx frequency" echo " -F Change the rx and tx frequency"
echo " -H Chnage the Balloon mode" echo " -H Chnage the Balloon mode"
echo " -p Display payload sensor data"
echo " -v Display voltage and current data"
echo echo
exit exit
@ -665,7 +667,19 @@ elif [ "$1" = "-H" ]; then
echo echo
sudo systemctl restart cubesatsim sudo systemctl restart cubesatsim
elif [ "$1" = "-p" ]; then
echo "Real-time output from the serial port from the Pico:"
echo
sleep 2
timeout 3 cat /dev/serial0
elif [ "$1" = "-v" ]; then
/home/pi/CubeSatSim/telem
fi fi
# sudo systemctl restart cubesatsim # sudo systemctl restart cubesatsim

Loading…
Cancel
Save

Powered by TurnKey Linux.