I'm working through this tutorial:
http://www.rpiblog.com/2012/09/using-gp ... k-led.html
...but I keep getting the error:
Code: Select all
sudo python test.py Traceback (most recent call last): File "test.py", line 11, in <module> GPIO.setmode(GPIO.BOARD) AttributeError: 'module' object has no attribute 'setmode'
I'm using the latest Wheezy from the RPi site (download about 2 hours ago).
Any ideas as to why I'm getting this?