changed from python to python3

pull/120/head
alanbjohnston 5 years ago committed by GitHub
parent f6f932251f
commit 0fd9db9812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,18 +8,18 @@ if [ "$1" = "c" ]; then
echo $y echo $y
if [ $(($y % 4)) = 3 ]; then if [ $(($y % 4)) = 3 ]; then
echo "Mode is continuous AFSK" echo "Mode is continuous AFSK"
python -u /home/pi/CubeSatSim/rpitx.py a python3 -u /home/pi/CubeSatSim/rpitx.py a
elif [ $(($y % 4)) = 1 ]; then elif [ $(($y % 4)) = 1 ]; then
echo "Mode is continuous BPSK" echo "Mode is continuous BPSK"
python -u /home/pi/CubeSatSim/rpitx.py b python3 -u /home/pi/CubeSatSim/rpitx.py b
elif [ $(($y % 4)) = 2 ]; then elif [ $(($y % 4)) = 2 ]; then
echo "Mode is continuous SSTV" echo "Mode is continuous SSTV"
python -u /home/pi/CubeSatSim/rpitx.py s python3 -u /home/pi/CubeSatSim/rpitx.py s
else else
echo "Mode is continuous FSK" echo "Mode is continuous FSK"
python -u /home/pi/CubeSatSim/rpitx.py f python3 -u /home/pi/CubeSatSim/rpitx.py f
fi fi
else else
python -u /home/pi/CubeSatSim/rpitx.py $1 python3 -u /home/pi/CubeSatSim/rpitx.py $1
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.