|
@@ -1,22 +1,18 @@
|
|
|
#!/bin/bash
|
|
|
|
|
|
+source ~/BallonSonde/variables.sh
|
|
|
+source ~/BallonSonde/functions.sh
|
|
|
+
|
|
|
touch /ramfs/.canbetx
|
|
|
cp /home/pi/BallonSonde/sound/mire.wav /ramfs/totx.wav
|
|
|
|
|
|
# Old version stylez
|
|
|
# Setup the GPIO4 as output for Tx
|
|
|
-raspi-gpio set 4 op && raspi-gpio set 4 dh
|
|
|
|
|
|
-raspi-gpio set 4 dl
|
|
|
+ptt_on
|
|
|
sleep 1
|
|
|
echo " => Playing WAV file"
|
|
|
#cd ~/trxamadrmv3_7/linux
|
|
|
#./txwfal 0
|
|
|
-#sleep 1
|
|
|
-#aplay ~/BallonSonde/sound/annonce_start.wav
|
|
|
-#sleep 1
|
|
|
aplay /home/pi/BallonSonde/sound/mire.wav
|
|
|
-#sleep 1
|
|
|
-#aplay ~/BallonSonde/sound/annonce_stop.wav
|
|
|
-raspi-gpio set 4 dh
|
|
|
-#
|
|
|
+ptt_off
|