I want a blinking LED!
downloaded FPi.GPIO-0.2.0.tar.gz and think I sucessfully installed it
run python 2.6 from menu and
import RPi.GPIO as GPIO
give no error
but GPIO.setup(11, GPIO.OUT)
Anyone had this and what's the cure?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/RPi.GPIO-0.2.0-py2.6.egg/RPi/GPIO/__init__.py", line 102, in setup
with open('/sys/class/gpio/export', 'w') as f:
IOError: [Errno 13] Permission denied: '/sys/class/gpio/export'
Also what physical pin does pythons 11 map to - is it Pin 3 on the PI GPIO strip (e.g GPIO on the right,2nd pin down on left side pins)???