Need man page for this.
Can you get some example for reading/writing GPIO ?

сб, 7 сент. 2019 г., 16:46 Richard Miller <[email protected]>:

> > How to get access to RPi 2 GPIO ?
>
> bind -a '#G' /dev
>
> Reading from /dev/gpio gives a 16-character big-endian hex string
> with current values of gpios 63-0.
>
> Writing commands like 'function 17 out' and 'set 17 1' to /dev/gpio
> will change functions and outputs.
>
> Sorry there doesn't seem to be a man page, see the source
> for details (/sys/src/9/bcm/devgpio.c)
>
>
>

Reply via email to