From 288e4b47abdb5839b108f7b47ef995888b05feaf Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 15 Mar 2026 11:36:27 -0400 Subject: [PATCH] Update pacsatsim.sh add soundcard mode --- pacsatsim.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pacsatsim.sh b/pacsatsim.sh index 9ec4bd20..50b9d975 100755 --- a/pacsatsim.sh +++ b/pacsatsim.sh @@ -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