Is there a list of functions somewhere?

Is there a list of functions somewhere? I read through the documentation on the github repo and saw “leds.fadeToBlackBy(40);” on https://github.com/FastLED/FastLED/wiki/RGBSet-Reference. Where are the other functions listed?

http://fastled.io/docs/3.1/

@Daniel_Garcia Thanks! I didn’t see a rainbow function. Is there one built in or do I need to write one?

@Sam_R There’s a whole pile of functions built in there, including Rainbow. Keep on looking. . .

@Andrew_Tuline I’ve been looking in the CRGB module. Which should I be looking in?

@Sam_R - you can find rainbow() in the DemoReel100.ino - line 70 at:

The key FastLED function in rainbow() is line 73 -
fill_rainbow( ) and see line 36 at:

https://github.com/FastLED/FastLED/blob/master/colorutils.cpp

to find out more about this FastLED function.

When I am trying to find out more about a FastLED function, I google the word FastLED along with the function name. One of the first couple of webpages usually is a reference to the function in the FastLED code and you can get some other useful information, too.

Also, do not forget to use the Search Community box on the left side of this webpage. The Search Community box can be very helpful.

Finally, if you see the word "void " in front of a function name in a sketch that usually means that the sketch author created that new function using FastLED functions .

1 Like