0_txmire 467 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. touch /ramfs/.canbetx
  3. cp /home/pi/BallonSonde/sound/mire.wav /ramfs/totx.wav
  4. # Old version stylez
  5. # Setup the GPIO4 as output for Tx
  6. #raspi-gpio set 4 op && raspi-gpio set 4 dh
  7. raspi-gpio set 4 dl
  8. sleep 1
  9. echo " => Playing WAV file"
  10. #cd ~/trxamadrmv3_7/linux
  11. #./txwfal 0
  12. #sleep 1
  13. #aplay ~/BallonSonde/sound/annonce_start.wav
  14. #sleep 1
  15. aplay /home/pi/BallonSonde/sound/mire.wav
  16. #sleep 1
  17. #aplay ~/BallonSonde/sound/annonce_stop.wav
  18. raspi-gpio set 4 dh
  19. #