[arm-allstar] Setting GPIOs to outputs at boot?
Doug Crompton
wa3dsp at gmail.com
Fri Jul 28 08:07:37 EST 2017
Mal,
There is a GPIO howto on the hamvoip.org web page. If you write a script
to do what you want to do with the bits you can call that script in the
/etc/rc.local script. The rc.local script runs anything in it at boot. The
asterisk/allstar startup script rc.allstar is in the rc.local script so
placement just before
that would ensure the bits are set before allstar starts if that is what
you want.
Does that answer your question?
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Fri, Jul 28, 2017 at 7:38 AM, "Mal - VK6MT via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> Hi
>
>
>
> I've followed the GPIO setup and all is working well. Now what I would
> like
> to do is set 4 GPIOs to outputs at boot, as I think a couple that I'm using
> are inputs with pull up enabled. It's not a major problem but I would like
> to improve things a little.
>
>
>
> Any help would be appreciated.
>
>
>
> Thanks
>
>
>
> Mal
>
> _______________________________________________
>
> 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