#define NUM_LEDS 144 #include "FastLED.h" #define PIN 6 CRGB leds[NUM_LEDS]; byte counter; void setup() { FastLED.addLeds(leds, NUM_LEDS).setCorrection( TypicalLEDStrip ); FastLED.setBrightness(50); pinMode(13, OUTPUT); } void loop() { for (int i = 0; i < NUM_LEDS; i++ ) { // >B 0 4> ?5@2>9 B@5B8 leds[i] = CHSV(counter + i * 2, 255, 255); // HSV. #25;8G820BL HUE (F25B) // C<=>65=85 i C<5=LH05B H03 @04C38 } counter++; // counter <5=O5BAO >B 0 4> 255 (B8? 40==KE byte) FastLED.show(); delay(5); // A:>@>ABL 42865=8O @04C38 }