#include #define GPIO_PIN 18 #define LED_COUNT 300 #define STRIP_TYPE WS2812_STRIP #define DMA 10 ws2811_t ledstring = { .freq = WS2811_TARGET_FREQ, .dmanum = DMA, .channel = { [0] = { .gpionum = GPIO_PIN, .count = LED_COUNT, .invert = 0, .brightness = 255, .strip_type = STRIP_TYPE, }, [1] = { .gpionum = 0, .count = 0, .invert = 0, .brightness = 0, }, }, };