These are chat archives for Makuna/NeoPixelBus

Nov 2015
Michael Miller
Nov 03 2015 04:27
@Torxgewinde not that I know of. Often i find that first time users with hsl color object miss that the values that are used are not what the adafruit code uses and this causes problems. Pay close atttention to the readme and the header files. Further, the float version works better with it also.
Nov 03 2015 07:34

I would agree, but the issues are already with the example code. The simple NeoPixelTest works, but the NeoPixelFun animation does not work. I tried to run it with 80 MHz and 160 Mhz. My pixels data pin is directly attached to the TX1 pin of a Chinese,cheap NodeMCU, there is no level shifter in between. The result I get with the examples is a white flickering, but the colors are not correct. I can offer to verify again and come back to you if the "Fun" example does not work as expected - I tried it a while ago and perhaps I misconfigured something.

Besides this, it might be worth a try to insert a single diode just in the ground of the NodeMCU in order to avoid the level shifter. This way a logic LOW should be 0.7V or 0.6V and HIGH should be more in the desired range of 0.7*Vdd since it would bump up from just 3.3V to 3.3V + 0.7V = 4V and then it would match the 3.5V the datasheet requires.

Nov 03 2015 13:28
@Torxgewinde i'll give your candle effect a try later, i've wanted something like that.
The issue you are mentioning is true, the examples use hue,sat,bri but using uint8_t when they should be float. the libs work just fine otherwise
Michael Miller
Nov 03 2015 16:36
Btw, one of my git projects is an jackolatern, which includes a candle flicker effect.