Wiring Pi Installieren

apt-get install wiringpi

und testen:

gpio -v

Ports auslesen:

gpio readall

Pinbelegung Schalter