[arm-allstar] GPIO
Doug Crompton
wa3dsp at gmail.com
Fri Mar 22 16:24:40 EDT 2019
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*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Fri, Mar 22, 2019 at 3:39 PM "Marty via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:
> Dave was telling me to drive led's, fan, etc... via the GPIO was added
> to HamVIOP months ago in generic form.
> Is there any documents for this additions anywhere?
> I'd like to use one of the GPIO to drive the LED on my board to detect
> COR for any polarity as a diagnostic indicator as it was intended to be.
>
> 73,
> Marty
>
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
More information about the ARM-allstar
mailing list