Updating GPIO Library - Raspberry Pi Forums


hi everyone, sorry if obvious i'm still new linux.

try , update latest rpi.gpio library followed instructions raspberry pi user guide:

code: select all

$ wget http://raspberry-gpio-python.googlecode.com/files/rpi.gpio-0.5.2a.tar.gz $ tar xvzf rpi.gpio-0.5.2a.tar.gz $ cd rpi.gpio-0.5.2a $ sudo python setup.py 
whilst pi appeared carry out code, when tried load program involving pulse width modulation via gpio pins (a feature new 0.5.2a, http://raspi.tv/2013/rpi-gpio-0-5-2a-no ... -to-use-it) there same error before:
attributeerror: 'module' object has no attribute 'pwm'
.

i'm assuming pi still on old rpi.gpio library, how make use new one?

thanks



raspberrypi



Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial