python demo.py
Traceback (most recent call last):
File "demo.py", line 9, in <module>
GPIO.setup(11,GPIO.OUT)
RPi.GPIO.ModeNotSetException: Please set mode using GPIO.setmode(GPIO.BOARD) or
GPIO.setmode(GPIO.BCM)
/////////////////////////////////////////////////////////////////////////////
Linux raspberrypi 3.1.9adafruit+ #10