If you are using a USB-powered device like the Photon 2 pictured below, you can use VUSB. If you are using a battery powered device with a LI+ connector, you can use that. If you have a large number ...
PIXEL_TYPE is the type of LED, one of WS2811, WS2812, WS2812B, WS2812B2, WS2813, TM1803, TM1829, SK6812RGBW. If omitted, WS2812B is used. Note: For legacy 50us reset pulse timing on WS2812/WS2812B or ...
LEDテーブ(WS2812B)が届いたので、早速動作確認。 配線はこんな感じです。 #include <FastLED.h> #define NUM_LEDS 40 #define DATA_PIN 3 CRGB ...