Adapt Meltwaters RGBLED project to your Raspberry Pi2

so you are the proud new owner of a Raspberry Pi2!

So what can you do with it, lets try out good ole Meltwaters rgbled flashy light thing. But wait, I’ve loaded it into the desktop and run the program, and I get an ERROR!! it worked before what  has happened. Actually simply the library RPi-GPIO is only written for a Raspberry Pi! as it says in the error message. But wait a minute I am on a raspberry pi! So why doesn’t it work?

Who cares, I’m more interested in what I’m going to do to sort it, a quick email to my nice acquaintance I soon get a link to this.  or if you dont want to click it, here is the meat of it :

'300x250'; google_ad_type = 'image'; google_ad_channel ='AdSense Default'; google_color_border = 'B0C9EB'; google_color_link = '164675'; google_color_bg = 'FFFFFF'; google_color_text = '333333'; google_color_url = '2666F5'; google_ui_features = 'rc:6'; //-->

Well actually you dont need any of it, in the end all I did was put in
sudo apt-get install rpi-gpio

and the rest is history. Although I think they may have sorted this issue out by now and a simple

sudo apt-get update

will see it work, but needless to say the lights are back up and running on the pi2

This entry was posted in Raspberry Pi. Bookmark the permalink.