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