Hello, I am new to FastLED.

Hello, I am new to FastLED.
Is it possible to use FastLED on Arduino Leonardo (Atmega32U4) (its internal clock is 16 MHz)? I use 5V led strip (60 leds) and I only want to light up individual LEDs, so I am trying to use Arduino Leonardo’s 5V pin as power source.
When I run basic FastLED example code from github, everything that happens is that all led strip’s leds are glowing red without any change.
Is the issue because clock speed is not determined correctly? If so, how can I set it?
There is description of protocol in https://www.pololu.com/product/2549 . Is it good idea to try emulating this protocol without FastLED using delayMicroseconds and some empty C loops in code?
Thanks in advance.

You sure can use FastLED to light up individual 5V LED’s on an Arduino Leonardo. Of course, that all depends on exactly WHAT LED’s you’re using. The following basic usage page includes an example of changing the ‘clock speed’:

The issue is likely that you aren’t supplying enough power to the leds, when they don’t have enough power, the red leds are often the only ones that can still light up – the leonardo is one of the older platforms that FastLED supports. Also, 16Mhz is too slow to drive WS2812’s without using asm code.

Thank you for your answers.
In basic usage examples, there is code example
FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN, RGB, DATA_RATE_MHZ(12)>(leds, NUM_LEDS);
}

  • but my LED strip doesn’t have clock pin.

You would use something like:

FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);

which is also shown in many of the examples.