void fadeToBlackBy (CRGB *leds, uint16_t num_leds,

void fadeToBlackBy (CRGB *leds, uint16_t num_leds, uint8_t fadeBy)

Hey could someone show me an example how to use this?

See confetti at https://gist.github.com/kriegsman/062e10f7f07ba8518af6

thanks but i still cant get it to fade just one led to black.

Well, you could try:

leds[i].fadeToBlackBy(fadeval);

where [i] is the led you want to fade, and fadeval is the amount to fade by where 1=slow fade, 255=fast fade.

Repeat that line several times, and you’ve got black at leds[i].

still not working…

Are you calling fastLED.show() after calling fade to black?

As well, the function call only fades the desired LEDs by the desired amount once; the actual fadetoblack works when called repeatedly.

@Jarrod_Wagner thanks I finally figured that out. I was assumeing the libary had a timing setup that fadetoBlack to run till it reached 0
not that i had to keep calling it till the desired effect.