Update pacsat-df.sh add pwm variable

pacsat
Alan Johnston 2 weeks ago committed by GitHub
parent 67fde490cf
commit bf572cc9bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,10 +1,21 @@
#!/bin/bash #!/bin/bash
pwm=1
sudo modprobe snd-aloop sudo modprobe snd-aloop
#gpio -g mode 20 out #gpio -g mode 20 out
#gpio -g write 20 1 #gpio -g write 20 1
direwolf -r 48000 -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf-fm-pacsat-jp14.conf -t 0 #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…
Cancel
Save

Powered by TurnKey Linux.