0_txmire 350 B

1234567891011121314151617
  1. #!/bin/bash
  2. # Setup the GPIO4 as output for Tx
  3. raspi-gpio set 4 op && raspi-gpio set 4 dh
  4. raspi-gpio set 4 dl
  5. sleep 1
  6. echo " => Playing WAV file"
  7. cd ~/trxamadrmv3_7/linux
  8. ./txwfal 0
  9. sleep 1
  10. aplay ~/BallonSonde/sound/annonce_start.wav
  11. sleep 1
  12. aplay ~/BallonSonde/sound/mire.wav
  13. sleep 1
  14. aplay ~/BallonSonde/sound/annonce_stop.wav
  15. raspi-gpio set 4 dh