parent
44ec5a6bbb
commit
5e5ca19f5b
@ -1,21 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
pwm=1
|
|
||||||
|
|
||||||
sudo modprobe snd-aloop
|
|
||||||
|
|
||||||
#gpio -g mode 20 out
|
|
||||||
|
|
||||||
#gpio -g write 20 1
|
|
||||||
|
|
||||||
#direwolf -r 48000 -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf-fm-pacsat-jp14.conf -t 0
|
|
||||||
|
|
||||||
if [ "$pwm" = "1" ] ; then
|
|
||||||
|
|
||||||
direwolf -r 48000 -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf-fm-pacsat-pwm.conf -t 0
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
direwolf -r 48000 -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf-fm-pacsat-jp14.conf -t 0
|
|
||||||
|
|
||||||
fi
|
|
||||||
Loading…
Reference in new issue