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