FastLED 3.9.15
Loading...
Searching...
No Matches

◆ ezWS2812()

fl::third_party::ezWS2812::ezWS2812 ( uint16_t num_leds,
SPIClass & spi = SPI )
inline

Constructor.

Parameters
num_ledsNumber of LEDs in the strip
spiSPI instance to use (default: SPI)

Definition at line 91 of file ezWS2812.h.

92 : num_leds_(num_leds), brightness_(100), spi_(&spi) {}

References brightness_, num_leds_, fl::SPI, and spi_.