These are chat archives for Makuna/NeoPixelBus

7th
Jun 2016
Maksim Surguy
@msurguy
Jun 07 2016 00:16
@Makuna thank you for your investigation into that as well! The reason I am not using FastLED right now is because my ESP only lives for about 1-2 hours with FastLED before WDT causes a reset for some reason. You can see some of the discussion on that here: FastLED/FastLED#306 your library seems to do things differently and not cause a reset :)
@Makuna at this point I am actually trying out a Raspberry Pi Zero and BiblioPixel library which offers even more crazy effects
unaiur
@unaiur
Jun 07 2016 05:14
@msurguy I reviewed FastLED source code and I would not use it for ESP8266. It's heavily optimized for AVR and has lots of busy wait loops. ESP8266 only works reliably with asynchronous code, so core code has plenty of time to handle thinks.
Michael Miller
@Makuna
Jun 07 2016 06:46
I have tried to stay away from putting too many finished effects and instead make sure the core works well and provide the low level support that is common for effects. My experience is that effects are generally very specific to application; so I tend to just provide samples to show how you can create effects.
If you do create something interesting, let me know and I can include a link in the Wiki.
Maksim Surguy
@msurguy
Jun 07 2016 16:53
@Makuna I'm going to try to simulate dithering for slow animations by using HslColor instead of RGB and when I have something worthy of showing, I'll add it! Thanks for your help!
sticilface
@sticilface
Jun 07 2016 20:41
@makuna... do u have any more thoughts on how i might have that cpp file that uses a 4element color, but compile it when the strip is defined using 3 colours... i've not managed a way that it likes... I'm a bit stuck
Michael Miller
@Makuna
Jun 07 2016 21:07
@sticilface In your sample above, change this line and it could be used for both
 MyColorFeature::ColorObject  updatedColor =MyColorFeature::ColorObject::LinearBlend(originalColor, MyColorFeature::ColorObject(brightness() ), progress);
sticilface
@sticilface
Jun 07 2016 21:27
how embarrassing... i guess i should have seen that!!! just trying it now :) thanks
sticilface
@sticilface
Jun 07 2016 21:40
and it works :) thanks again as always!