Philippe Hallo Philippe, vielen Dank für die rasche Antwort. Hier mein Code:
#include "FastLED.h" //Importieren der FastLED-Library
#define NUM_LEDS 100 //Festlegen der Anzahl LED in der Matrix
#define DATA_PIN 12
CRGB leds[NUM_LEDS];
void setup() {
// put your setup code here, to run once:
FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS);
// initialize the pushbutton pin as an input:
}
void loop() {
for(int i=0;i<NUM_LEDS;i++){
leds.setRGB(150,150,150);
FastLED.show();
delay(100);
}
}