In Fast.Led lib for arduino there is a code to turn off all leds
FastLED.clear ();
Is there also a shortcut to turn all LEDs ON, and with a specific color
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It only takes a minute to sign up.
Sign up to join this communityIn Fast.Led lib for arduino there is a code to turn off all leds
FastLED.clear ();
Is there also a shortcut to turn all LEDs ON, and with a specific color
You can use fill_solid.
For example
fill_solid( leds, NUM_LEDS, CRGB(50,0,200));
Or
fill_solid( leds, NUM_LEDS, CRGB::Red);
showColor