I'm a newbie...
I'm trying to hook up NeoPixels on a Raspberry PI following Tony DiCola's instructions. I have compiled and installed the rpi_ws281x library per the instructions. When I run StrandTest.py I get an "Import error: No module named neopixel" I can see neopixel.py in the rpi_ws281x/python directory. What am I doing wrong?
Also, I noticed a disclaimer that this library may not work on the Pi 2. Is that the case? Any suggestions?
NeoPixel
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- tdicola
- Posts: 1074
- Joined: Thu Oct 17, 2013 9:11 pm
Re: NeoPixel
Make sure to run the 'sudo python setup.py install' step from this page: https://learn.adafruit.com/neopixels-on ... i/software That will install the library on the Pi so you can import it with the 'import neopixel' command.
For the Pi 2 yep unfortunately the library doesn't support it right now. There is a fork that added Pi 2 support here: https://github.com/richardghirst/rpi_ws281x It hasn't been integrated back into the main library yet though so you'll need to grab it and install it instead of the jgarff version from the tutorial.
For the Pi 2 yep unfortunately the library doesn't support it right now. There is a fork that added Pi 2 support here: https://github.com/richardghirst/rpi_ws281x It hasn't been integrated back into the main library yet though so you'll need to grab it and install it instead of the jgarff version from the tutorial.
- hansi
- Posts: 1
- Joined: Wed Oct 07, 2015 5:17 pm
Re: NeoPixel
Hi, i found this nice tutorial, but there is a part i don't get.
this tutorial should work with the regular Adafruit NeoPixel Digital RGB LED Strip?
thanks for the tutorial ^^
is there something like GRB, BGR LEDs? if not, i don't get the point of this quote :-/Also be aware the rpi_ws281x library only supports GRB NeoPixels/WS281x LEDs right now. Support for RGB and BGR will likely come in the future (but pull requests are happily accepted!).
this tutorial should work with the regular Adafruit NeoPixel Digital RGB LED Strip?
thanks for the tutorial ^^
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/