These are chat archives for Makuna/NeoPixelBus

11th
May 2018
Debashish Sahu
@debsahu
May 11 2018 18:52
@Makuna Is there a sine table like adafruit/Adafruit_NeoPixel@1e1fbc4 in neopixelbus?
Michael Miller
@Makuna
May 11 2018 18:54
What platform are you working on?
What Arduino do you have?
Debashish Sahu
@debsahu
May 11 2018 18:54
1.8.5
Michael Miller
@Makuna
May 11 2018 18:55
I mean hardware. AVR (Mega, Leonardo, Tiny), Esp8266, or something like that.
Debashish Sahu
@debsahu
May 11 2018 18:55
esp8266-git version
Michael Miller
@Makuna
May 11 2018 18:56
Ok, just use the normal sin() method.
I am unsure why they (Adafruit) included that in the NeoPixel library; but they are just trying to make a fast sin function; but esp8266 is going to be fast enough.
Debashish Sahu
@debsahu
May 11 2018 18:57
yeah normal sin works great, I'm guessing a lookup table is faster?
Michael Miller
@Makuna
May 11 2018 18:57
If you were using an AVR then you might want the speed their method would give you.
Debashish Sahu
@debsahu
May 11 2018 18:58
got it, thanks!
Michael Miller
@Makuna
May 11 2018 18:58
but that code really shouldn't be in the NeoPixel library, it should be in some utility library.
have fun, cya