[arm-allstar] Tx and Rx LEDs on GPIO4 &5
Michael Fleetwood
mfleetwood at gmail.com
Sun Apr 19 05:34:22 EDT 2020
I have setup a radioless node using Hamvoip on a RPi 3A+ and it works
well. Am wanting to add LEDs to indicate Rx and Tx and found the info
below in the archives but can't get it to work. The LEDs do respond
to gpio commands entered directly so I think the hardware side is OK.
Can anyone please advise what the problem might be and if this is
still the way to do it?
Many thanks and 73
Mike
VK2AMF.
The new ARN FOBs use it for COS but yes you can drive any bit you want.
This is nothing new. It has been there for a long time. For the FOB you
just set the bit you want to output on assuming it is available adding this
in simpleusb.conf -
gpiox=outy ; where x = bit number 1-8 and y is 0|1 for initial output
level
Then in rpt.conf as an event you add -
For RX indicator -
cop,62,GPIOx:1 = c|t|RPT_RXKEYED
cop,62,GPIOx:0 = c|f|RPT_RXKEYED
or
For TX indicator -
cop,62,GPIOx:1 = c|t|RPT_RXKEYED
cop,62,GPIOx:0 = c|f|RPT_RXKEYED
Where x is the corresponding port from the gpio setting in simpleusb.conf
*73 Doug*
*WA3DSP*
Mike Fleetwood
Canberra Australia and Sidcup UK.
Worldwide email address is: mfleetwood at gmail.com
More information about the ARM-allstar
mailing list