|
|
|
@ -6,7 +6,7 @@ if [ "$1" = "c" ]; then
|
|
|
|
echo "Mode cycling"
|
|
|
|
echo "Mode cycling"
|
|
|
|
y=$(last reboot | grep ^reboot | wc -l)
|
|
|
|
y=$(last reboot | grep ^reboot | wc -l)
|
|
|
|
echo $y
|
|
|
|
echo $y
|
|
|
|
if [ $(($y % 4)) = 0 ]; then
|
|
|
|
if [ $(($y % 4)) = 3 ]; then
|
|
|
|
echo "Mode is continuous AFSK"
|
|
|
|
echo "Mode is continuous AFSK"
|
|
|
|
python -u /home/pi/CubeSatSim/rpitx.py a
|
|
|
|
python -u /home/pi/CubeSatSim/rpitx.py a
|
|
|
|
elif [ $(($y % 4)) = 1 ]; then
|
|
|
|
elif [ $(($y % 4)) = 1 ]; then
|
|
|
|
|