Update pacsatsim.sh add soundcard mode

master-b-p-s
Alan Johnston 2 weeks ago committed by GitHub
parent 836ec52844
commit 288e4b47ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -183,10 +183,11 @@ else
echo "Using TXC FM transceiver"
# sudo /home/pi/CubeSatSim/pacsatsim-df.sh &
pwm=1
#pwm=1
if [ "$pwm" = "1" ] ; then
echo "Using Soundcard input (JP13), PWM output"
ADEVICE="ADEVICE shared_mic plughw:CARD=Headphones,DEV=0"
PTT="PTT GPIOD gpiochip0 -20"
@ -194,7 +195,10 @@ else
else
direwolf -P+ -D1 -qd -dp -r 48000 -c /home/pi/CubeSatSim/direwolf/direwolf-pacsatsim-jp14.conf -t 0 &
echo "Using Soundcard input (JP13) and output (JP14)"
ADEVICE="ADEVICE shared_mic plughw:CARD=Device,DEV=0"
PTT="PTT GPIOD gpiochip0 -20"
# direwolf -P+ -D1 -qd -dp -r 48000 -c /home/pi/CubeSatSim/direwolf/direwolf-pacsatsim-jp14.conf -t 0 &
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.