#!/bin/bash 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 #sleep 1 #echo " => Playing WAV file" #cd ~/trxamadrmv3_7/linux #./txwfal 0 #sleep 1 #aplay ~/BallonSonde/sound/annonce_start.wav #sleep 1 #aplay /ramfs/totx.wav #sleep 1 #aplay ~/BallonSonde/sound/annonce_stop.wav #raspi-gpio set 4 dh #