|
|
|
|
@ -2,12 +2,6 @@
|
|
|
|
|
|
|
|
|
|
echo -e "\nDemo of CubeSatSim at 434.9 MHz\n"
|
|
|
|
|
|
|
|
|
|
y=$(last reboot | grep ^reboot | wc -l)
|
|
|
|
|
echo $y
|
|
|
|
|
|
|
|
|
|
if [ "$1" = "c" ]; then
|
|
|
|
|
echo "Mode cycling"
|
|
|
|
|
|
|
|
|
|
sudo systemctl restart rpitx
|
|
|
|
|
|
|
|
|
|
if [ "$1" = "a" ]; then
|
|
|
|
|
@ -19,7 +13,11 @@ elif [ "$1" = "b" ]; then
|
|
|
|
|
elif [ "$1" = "s" ]; then
|
|
|
|
|
echo "Mode is continuous SSTV"
|
|
|
|
|
while true; do sleep 5; done
|
|
|
|
|
else
|
|
|
|
|
echo "Mode is continuous FSK"
|
|
|
|
|
/home/pi/CubeSatSim/radioafsk fsk
|
|
|
|
|
else [ "$1" = "f" ]; then
|
|
|
|
|
echo "Mode is continuous FSK"
|
|
|
|
|
/home/pi/CubeSatSim/radioafsk fsk
|
|
|
|
|
else
|
|
|
|
|
echo "Mode cycling"
|
|
|
|
|
y=$(last reboot | grep ^reboot | wc -l)
|
|
|
|
|
echo $y
|
|
|
|
|
fi
|
|
|
|
|
|