updated demo with new arg values

pull/32/head
Alan Johnston 6 years ago
parent 4aafa43afe
commit 28652cae17

@ -1,11 +1,24 @@
#!/bin/bash #!/bin/bash
echo -e "\nDemo of CubeSatSim sends AFSK telemetry at 434.9 MHz continuously\n\n" echo -e "\nDemo of CubeSatSim at 434.9 MHz continuously\n\n"
#exit #exit
sudo killall -9 rpitx y=$(last reboot | grep ^reboot | wc -l)
sudo killall -9 sendiq echo $y
sudo fuser -k 8080/tcp
/home/pi/CubeSatSim/radioafsk a 3 if (( $y % 2 == 0 ))
then
echo -e "\n Continuous FSK Mode\n\n"
/home/pi/CubeSatSim/radioafsk f
else
echo -e "\n Alternating FSK, BPSK, and AFSK telemetry Mode \n\n"
while true; do
echo -e "\n Changing mode ******\n\n"
/home/pi/CubeSatSim/radioafsk a 5
/home/pi/CubeSatSim/radioafsk f 5
/home/pi/CubeSatSim/radioafsk b 5
done
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.