Hello all,
I'm just wondering if it where possible to signal individual pixels to change colour in a stand, say i have three pixels and i want the first and the third to remain blue, and the second one to alternate between green and red, is it possible or do i have to keep sending "blue" "green" "blue" and then "red" "blue"..
using the flora test sketch and slowing down to 1second between colour changes, it looks like the chips are repeating their previous colour to the next one in the chain when they are told of a new colour.
also, is it possible to have several branches, i noticed that the pin number is locked for speed reasons, it would make it alot easier for wiring purposes
thank you all
FLORA: Smart pixels
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: FLORA: Smart pixels
The pixels are individually addressable. The sequence you're seeing is just the way the test sketch is written.
Technically, I suppose it would be possible to rewrite the library to support more than one strand. I don't know for sure. I don't think we have any plans to do that.
Technically, I suppose it would be possible to rewrite the library to support more than one strand. I don't know for sure. I don't think we have any plans to do that.
- pburgess
- Posts: 4161
- Joined: Sun Oct 26, 2008 2:29 am
Re: FLORA: Smart pixels
Hi there,
The Adafruit_NeoPixel library (for our new high-density flex LED strips) also works with FLORA Smart Pixels, and supports multiple strands on any combination of pins. It's just that awesome.
As for signaling individual pixels...at the low-level protocol level, the entire strip needs to be re-written for any change in the strand, even a single pixel. It's just the nature of how these things work. The library sort of abstracts that out of the way though...you just call setPixelColor() as many or as few times as needed to select the displayed colors, and show() to update the strand state.
The Adafruit_NeoPixel library (for our new high-density flex LED strips) also works with FLORA Smart Pixels, and supports multiple strands on any combination of pins. It's just that awesome.
As for signaling individual pixels...at the low-level protocol level, the entire strip needs to be re-written for any change in the strand, even a single pixel. It's just the nature of how these things work. The library sort of abstracts that out of the way though...you just call setPixelColor() as many or as few times as needed to select the displayed colors, and show() to update the strand state.
- jprather
- Posts: 12
- Joined: Wed Dec 19, 2012 12:21 am
Re: FLORA: Smart pixels
so it is possible to control the flora pixels with a normal arduino?
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: FLORA: Smart pixels
Yes it is.so it is possible to control the flora pixels with a normal arduino?
Please be positive and constructive with your questions and comments.