Fastled Problem

hello in the fastled library would it be possible to tell a stripled to blink only 3 times and not in loop ?

You mean do this one time and never again until the board is reset again?

Yes. What have you tried?

a7

An example for you... but try your own.

#include <FastLED.h>
#define NUM_LEDS 1
#define LED_PIN 3
CRGB leds[NUM_LEDS];
void setup() {
  FastLED.addLeds<NEOPIXEL, LED_PIN>(leds, NUM_LEDS);
  for (int x = 0; x < 3; x++)
  {
    leds[0] = CRGB::Red;
    FastLED.show();
    delay(500);

    leds[0] = CRGB::Green;
    FastLED.show();
    delay(500);
  }
}
void loop() {
}

Your question has nothing to do with FastLed. For run some code (any type of code) one or few times and stops - you should put the code in the setup() rather than loop()