Skip to content
Michael Miller edited this page Sep 24, 2019 · 3 revisions

(currently under development)

How to configure the NeoPixelBus for your LEDs

NeoPixelBus supports several different classes of LEDs and many variants. This flexibility means it can support a large number of LEDs; it does come with the cost of a little complexity.

The first detail that is needed to be configured is what the type of LEDs you are using. The type of LEDs is broken down into two groups, those that require only one signal wire, and those that require two signal wires.
The one wire LEDs are WS2811, WS2812, WS2813, SK6812, LC8812, and APA106. They are commonly referred to as NeoPixels; but often have nuances to them that requires the user to know exactly what model they have. These rely on a tightly timed sequence of pulses on the single data line to set the colors on the LEDs.
The two wire LEDs are APA102 and LPD8806. They are commonly referred to as DotStars; but they also have nuances to them and also require the user to know what model they have. These rely on one data line and one clock line which removes the need for timing for the data pulses.

The second detail that is needed to be configured is what order the colors are for the LEDs and how many LEDs are used within the pixel. Most will only come with three LEDs, a Red, a Green, and a Blue. Some will include a forth, White. The order of these is important and may require you to use a test sketch to figure it. If you don't know the order, start with GRB order.

Continue Quick Start Using One Wire LEDs

Continue Quick Start Using Two Wire LEDs

Clone this wiki locally