modify demo.sh to have an argument to force mode

pull/42/head
alanbjohnston 6 years ago committed by GitHub
parent ddcc286d6e
commit 3e7a568ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save

Powered by TurnKey Linux.