Existing module for RPi.GPIO in Raspian doesn't work on new Pi 2. AdaFruit blog has an article showing you how to upgrade until it is fixed. I have also seen comments that you may need to update firmware with sudo rpi-update to keep PWM happy.
https://blog.adafruit.com/2015/02/05/ho ... erry-pi-2/
Re: RPi.GPIO needs later version for new Pi 2
Its also here http://www.raspberrypi.org/forums/viewt ... 00#p683480
I used it to get my gpio working.
I used it to get my gpio working.
Re: RPi.GPIO needs later version for new Pi 2
The firmware patch may not even available through rpi-update yet - RPi.GPIO with newer firmware is completely untested until later tonight - my advice for now is not to use PWM.rbn wrote:I have also seen comments that you may need to update firmware with sudo rpi-update to keep PWM happy.
https://blog.adafruit.com/2015/02/05/ho ... erry-pi-2/
Re: RPi.GPIO needs later version for new Pi 2
Ok re not using PWM
I wish I hadn't done an rpi-update. It kills Sonic Pi on the Pi 2. Sam Aaron is aware of this but doesn't yet know why. Can anyone give me the git hash for the firmware in the latest Raspian release on 31/1/2015 so that I can downgrade to it?
I wish I hadn't done an rpi-update. It kills Sonic Pi on the Pi 2. Sam Aaron is aware of this but doesn't yet know why. Can anyone give me the git hash for the firmware in the latest Raspian release on 31/1/2015 so that I can downgrade to it?
Re: RPi.GPIO needs later version for new Pi 2
https://github.com/Hexxeh/rpi-firmware/commits/masterrbn wrote:Ok re not using PWM
I wish I hadn't done an rpi-update. It kills Sonic Pi on the Pi 2. Sam Aaron is aware of this but doesn't yet know why. Can anyone give me the git hash for the firmware in the latest Raspian release on 31/1/2015 so that I can downgrade to it?
Numbers on the right hand side.
sudo rpi-update long_commit_number
Re: RPi.GPIO needs later version for new Pi 2
Update: a new development version is now available. All tests now pass except a couple of wait_for_edge() tests, providing you have run rpi-update first.