On 6/27/14, Raphael Graf <r...@undefined.ch> wrote:
> On 06/27/14 06:58, patrick keshishian wrote:
>
> The direction of the pin has to be configured at securelevel 0.
> You can put something like the following line in /etc/rc.securelevel:
> gpioctl gpio1 23 set out
>
> Then you should be able to toggle the pin:
> # gpioctl gpio1 23 on
> pin 23: state 0 -> 1
> # gpioctl gpio1 23 off
> pin 23: state 1 -> 0

Thanks for the hint!

Though, this seems a rather painful way to play with those
pins. Every time one wants to change a pin's direction or
make use of a new pin, one has to reboot.

Oh well... must be some logic behind that.

--patrick

Reply via email to