Hallo Kampi,

Wie führe ich das Programm als root aus? Ich starte SPE von der grafischen Oberläche und klicke dann aud "Run"

Ich gebe in der Console sudo python program.py ein und erhalte:

Traceback (most recent call last):
File "python001.py", line 4, in <module>
GPIO.setup(26, GPIO.OUT)
RPi.GPIO.ModeNotSetException: Please set mode using GPIO.setmode(GPIO.BOARD) or GPIO.setmode(GPIO.BCM)