Re: Icom 706MKIIG Setup #ptt #icom


 

Got it working 100%. Thanks for the help John. Here's the script:

#!/bin/bash
 
STATE=$1
PIN=23
if [  $# -le 0 ]; then 
    echo -e "\nUsage:\n$0 state \n" 
    exit 1
fi 
 
if [ "$STATE" = "on" ]; then
    echo "gpio -g toggling $PIN on";
    gpio -g write $PIN 1
else
    echo "gpio -g toggling $PIN off";
    gpio -g write $PIN 0
fi

Todd
AL7PX

Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.