Update config use function

pull/327/head
Alan Johnston 1 year ago committed by GitHub
parent b3b51cfb49
commit cbb454b97a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -143,17 +143,19 @@ elif [ "$1" = "-a" ]; then
if [ "$1" == "n" ]; then
echo "Transmit mode 1 is APRS"
transmit_command_aprs
# echo "Transmit mode 1 is APRS"
STRING="AMSAT-11>APCSS:=3901.40N\07704.39WShi hi MODE=a"
sudo rm /home/pi/CubeSatSim/t.txt
echo $STRING > /home/pi/CubeSatSim/t.txt
echo
echo -n "Sending APRS packet "
echo $STRING
sudo touch /home/pi/CubeSatSim/ready
sleep 5
sudo touch /home/pi/CubeSatSim/ready
# STRING="AMSAT-11>APCSS:=3901.40N\07704.39WShi hi MODE=a"
# sudo rm /home/pi/CubeSatSim/t.txt
# echo $STRING > /home/pi/CubeSatSim/t.txt
# echo
# echo -n "Sending APRS packet "
# echo $STRING
# sudo touch /home/pi/CubeSatSim/ready
# sleep 5
# sudo touch /home/pi/CubeSatSim/ready
else
echo "changing CubeSatSim to AFSK mode"

Loading…
Cancel
Save

Powered by TurnKey Linux.