FLORA: Smart pixels
Moderators: adafruit_support_bill, adafruit

FLORA: Smart pixels

by min0me on Sun Dec 23, 2012 1:20 pm

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
Posts: 2
Joined: Wed Dec 05, 2012 8:24 am

Re: FLORA: Smart pixels

by adafruit_support_rick on Sun Dec 23, 2012 2:31 pm

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.

Posts: 18568
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: FLORA: Smart pixels

by pburgess on Sun Dec 23, 2012 6:08 pm

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. 8)

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.

Posts: 3014
Joined: Sun Oct 26, 2008 2:29 am

Re: FLORA: Smart pixels

by jprather on Thu Jan 03, 2013 4:59 pm

so it is possible to control the flora pixels with a normal arduino?

Posts: 12
Joined: Wed Dec 19, 2012 12:21 am

Re: FLORA: Smart pixels

by adafruit_support_bill on Thu Jan 03, 2013 5:44 pm

so it is possible to control the flora pixels with a normal arduino?

Yes it is.

Posts: 37701
Joined: Sat Feb 07, 2009 10:11 am