User Tools

Site Tools


pi:gpio

GPIO default state can be configured by /boot/config.txt as described on official raspberrypi site.

As described there you can add lines with following syntax:

gpio=<pin>=<mode>,<state>
Section Values Description
pin 9 / 7-9 Pinnumber or range to configure
mode ip / op Input / Output
state dh / dl For Output → Drive High/Low
state pu / pd Pull Up/Down
pi/gpio.txt · Last modified: 2020/08/02 07:54 by els