#!/bin/bash # 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 ~/BallonSonde/sound/mire.wav sleep 1 aplay ~/BallonSonde/sound/annonce_stop.wav raspi-gpio set 4 dh