Asked
— Edited
I can not longer use the BlinkM for Alan's eyes as they have modified the hardware and voltage requirements etc. so I'm looking for other options. The neopixels blaster would be perfect but looks like it's not on the production line yet.
...I'm really only looking at trying to get ez Builder to control a single neopixels color cycle, fade, brightness, control on and off. I'd like to be able to use sliders like the blink M control (rgb ). Any ideas or other options I'm overlooking?
Yup just making sure his sketch will be able to control the color fading with a single neopixel as i have no use for animations like the theatre chase, rainbow etc which are included in the at sketch for rings and strands that include many neopixels.
Again - if you have a ring with 128 neopixels, your code must address 128 neopixels.
It's not about whether you want animations or not. That's not the point. If you read about how a neopixel works, each one is addressable based on the series.
I'll have to read up on the serial sketch provided by Perry. Normally in a sketch you define the number of pixels like 1 or 12 or 128. so the animations will scale according to the number of neopixels you have. Maybe in his sketch you send out the number of neopixels in each command control line since its a live control.
Again, you have to send a command to each neo pixel because they are addressed within the serial connection, starting at 0x00 to 0x01 and 0x02 so on
As far as I know 'neopixel' is a product line produced by Adafruit. You had asked how they differ from RGB LED's.
If you look at that sketch you define your neopixel type with this line
Maybe you can just enter a 1 there for pixels. Then you could use the fade function tailored to your needs to control that one pixel.
I would need to research this combo to get it to work but I would start there. Realize this is not my script and I did not write the tutorial.
Perry
OK i could not find the call for number of pixels. Got it, in the constructor. I see setting for pixel number and which pin its on, do you know what "type" means, i've not seen that in a sketch before.
Sorry i thought you had written up that tut. But that is exactly the two functions , color and fade i'm looking to adjust. I'll look into it further.
@DJ, Got it! Thanks.
'type' refers to the type of LED's in the strip. RGB or RGBW are options. There are codes provided by Adafruit that I put in there. They came from their tutorial page.
I took a look in the Arduino IDE and it looks pretty easy to figure out. There are some test codes in there.
Those are all the parameters to set it up. I infer from this that you probable could make it a 2 LED strip with left eye being 1 and the right eye 2 since the Flora LED's can be daisy chained.
There may be easier ways to do this. Would be nice to go directly from EZB to a neopixel without intermediate hardware.