There have been a few people lately,

There have been a few people lately, asking how to set up multiple animations for selection by a button. Well, I figured I would share how I do it now. There is a lot, and I mean a lot of code that I have copied and pasted from the library example sketches, to make animations a breeze. There is also use of another library for buttons that I LOVE. Oh, and theres more code not shown in the video included…at no charge. Enjoy and experiment!

https://gist.github.com/bonjurroughs/9c107fa5f428fb01d484#file-noise-balls
http://www.youtube.com/watch?v=fSl4KJHPi4g

The blur2d example found here, is what I altered to get this: https://plus.google.com/112916219338292742137/posts/EjCHX9GmoBs

Would that be using the onebutton library as found at https://github.com/mathertel/OneButton

Did somebody used already an rotary encoder (with button) to ie swich between effects, control the brightness, … ? Any code examples for fastled ?
Some libs are suggestin to use the interup pin. Will this work for the ws2812b (I remember long discussion for an ir lib)

@Peter_Spriet https://plus.google.com/112974620627169436992/posts/7cTz1G8EFKa @Robert_Atkins can attest to the use of rotary encoders in his Technicolor Dream Coat

I’m starting to figure up a hobby RC low/high channel to trigger pattern changes… maybe some your code could help.
I already have throttle channel from my RC radio speed/slow a patterns… this is the next step, pattern selections.

I used a rotary encoder for pattern selection and (with the knob pushed down), brightness. I used the Teensy encoder library. I didn’t like it for a few reasons:

  1. My rotary encoder registered a count before it settled into a detent. Like, you could twist the knob slightly and it would register, then settle back into the slot where it started. This made it really “touchy”.

  2. It was difficult to press, then twist such that I wouldn’t accidentally change the pattern when meaning to change the brightness.

  3. The brightness reset to its default whenever the power reset. I could have mitigated this by saving the current brightness level to EEPROM, and my circuit had another problem which made it reset frequently, but this was really annoying.

Maybe all the above issues could be solved by buying a better rotary encoder, but I’m much happier now I replaced it with up/down buttons for programme selection and a standard analogue pot for brightness.

hi there, so my project uses currently 4 strips of NEOPIXELS,all different lengths. im not using the kmatrix, and im having some difficulty working out how to implement with only strips rather than the smartmatrix, since im trying go through your example code to get it to work for me :slight_smile: any help suggestions would be great :slight_smile:

@Rich_Love https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples

i have gone thru all the exaples in the multiple controller exapmles… whats puzzli ng me is having different numbers of leds for each strip.

@Rich_Love Did ya ever get this working?

Just wondering why this error comes when attempting to compile: ‘WS2811_PORTC’ was not declared in this scope
Anyone? Thank you.

@Freddie_Olivas That is for when you use a Teensy 3.1, you should setup() the leds for your particular aarrangement