added modulo test for c mode

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

@ -22,13 +22,13 @@ else
echo $y echo $y
echo $(($y % 4)) echo $(($y % 4))
if [ $(($y % 4)) = "0" ]; then if [ $(($y % 4)) = 0 ]; then
echo "Mode is continuous AFSK" echo "Mode is continuous AFSK"
/home/pi/CubeSatSim/radioafsk afsk /home/pi/CubeSatSim/radioafsk afsk
elif [ "$1" = "b" ]; then elif [ $(($y % 4)) = 1 ]; then
echo "Mode is continuous BPSK" echo "Mode is continuous BPSK"
/home/pi/CubeSatSim/radioafsk bpsk /home/pi/CubeSatSim/radioafsk bpsk
elif [ "$1" = "s" ]; then elif [ $(($y % 4)) = 2 ]; then
echo "Mode is continuous SSTV" echo "Mode is continuous SSTV"
while true; do sleep 5; done while true; do sleep 5; done
else else

Loading…
Cancel
Save

Powered by TurnKey Linux.