Update command add card and freq variables

release-2
Alan Johnston 1 year ago committed by GitHub
parent 26c0ba5bb4
commit 2c5759e7d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -79,14 +79,18 @@ else
echo "$value" > /dev/null
set -- $value
card=${2:0:1}
value=`cat /home/pi/CubeSatSim/sim.cfg`
echo "$value" > /dev/null
set -- $value
freq=$8
echo "Current value of rx is"
echo $8
echo $freq
rtl_fm -M fm -f $8M -s 48k | aplay -D plughw:${2:0:1},0,0 -r 48000 -t raw -f S16_LE -c 1 &
rtl_fm -M fm -f $freqM -s 48k | aplay -D plughw:$card,0,0 -r 48000 -t raw -f S16_LE -c 1 &
if [ "$debug" = "1" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.