Update demo.sh

pull/60/head
alanbjohnston 5 years ago committed by GitHub
parent b8891350dc
commit 24d9d0da58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,4 +20,17 @@ else
echo "Mode cycling"
y=$(last reboot | grep ^reboot | wc -l)
echo $y
fi
if [ "$y" % 4 = "0" ]; then
echo "Mode is continuous AFSK"
/home/pi/CubeSatSim/radioafsk afsk
elif [ "$1" = "b" ]; then
echo "Mode is continuous BPSK"
/home/pi/CubeSatSim/radioafsk bpsk
elif [ "$1" = "s" ]; then
echo "Mode is continuous SSTV"
while true; do sleep 5; done
els3 [ "$1" = "f" ]; then
echo "Mode is continuous FSK"
/home/pi/CubeSatSim/radioafsk fsk
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.