kitesurfer1404 / WS2812FX

WS2812 FX Library for Arduino and ESP8266
MIT License
1.6k stars 346 forks source link

How does fadeOut work? #214

Closed dunklesToast closed 4 years ago

dunklesToast commented 4 years ago

The fadeOut function is referenced here: https://github.com/kitesurfer1404/WS2812FX/blob/abece9a2a5a23027243851767c55cb8d2e19ff05/src/WS2812FX.h#L423

When I want to use it, Arduino IDE says that the class WS2812FX has no member named 'fadeOut'. Is this a deprecated feature? If not, how to use it?

kitesurfer1404 commented 4 years ago

Try fade_out, not fadeOut.

dunklesToast commented 4 years ago

Oh my fault. Now it works. Thanks! I think fade_out is missing in the keywords.txt. It's not being highlighted in the editor.