From 3e7a568ad901a9c53b94bd2fdfdde35b745c3f3c Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 3 May 2020 16:28:38 -0400 Subject: [PATCH] modify demo.sh to have an argument to force mode --- demo.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/demo.sh b/demo.sh index 2e9c4027..6d5bf7f3 100755 --- a/demo.sh +++ b/demo.sh @@ -2,6 +2,14 @@ echo -e "\nDemo of CubeSatSim at 434.9 MHz\n" +if [ "$1" = "a" ]; then + echo "Mode is AFSK" +elif [ "$1" = "f" ]; then + echo "Mode is FSK" +elif [ "$1" = "b" ]; then + echo "Mode is BPSK" +fi + #exit y=$(last reboot | grep ^reboot | wc -l)