These are chat archives for Makuna/NeoPixelBus

19th
Jun 2015
Michael Miller
@Makuna
Jun 19 2015 06:55
@sticilface Applied your fix, and also added IsAnimating(uint16_t pixel). Thanks!
sticilface
@sticilface
Jun 19 2015 07:01
boom. that was efficient. thank you!
sticilface
@sticilface
Jun 19 2015 15:24
I have and endless stream of questions for you... you have some provisional code in place to deal with HSL colours using floats. Does this add a significant overhead? and i can see that would have a much smoother range of colors when dealing with hsl as well? just wondering what your thoughts were?
Michael Miller
@Makuna
Jun 19 2015 17:06
For the esp8266, the overhead isn't horrible. HSL is stored as uint8_t by default; but the current math is primarily done with floats. My plan is to continue to convert the code to ints but also to continue to keep the ability to compile either way. This makes it easy for me to compare code and results and make sure that the ints conversation continues to keep quality with the speed increase.
sticilface
@sticilface
Jun 19 2015 17:24
so you don't think that doing floats will be too harmful...
so far its working well! very smooth.. I'm in the process of re-writing my current effects to the new system. i also want to wire up a msgeq7... and have sound responsiveness. I've got one working with an arduino. I'm planning on level shifting 5v-3.3V using a resister divider. hopefully it will be fast enough. NO MORE GREEN PIXEL.. infact they are smooth as butter so good work there
Michael Miller
@Makuna
Jun 19 2015 18:01
Let me know if you are hitting performance issues. I will be continuing to switch the code to ints internally over the next week or so. The blend method today takes a float, a uint8_t was not enough resolution, I may switch this to a uint16_t but I will see how the other changes work out first.
sticilface
@sticilface
Jun 19 2015 18:10
this was what i found with my HSV implementation for hue as well... with the other numbers kept constant.. it only gives you 255 colours!
i will let you know.... i've just hit the first effect that will have to be completely re-written... BUT with your callback i can have it go from 0 - 255 - 0 over the progress... which is very cool:)