#include <FastLED.h>. #define LED_PIN 7. #define NUM_LEDS 10. CRGB leds[NUM_LEDS]; void setup() {. FastLED.addLeds<WS2812, LED_PIN, GRB>(leds, NUM_LEDS);.
確定! 回上一頁