Pin names
pin
Positive voltage supply (input side)
pin
Data input signal
pin
Ground (input side)
pin
Positive voltage supply (output side)
pin
Data output (for chaining to next strip)
pin
Ground (output side)
Attributes
string
default:"8"
Number of LEDs in the strip
string
default:""
Pixel rendering shape: “square”, “circle”, or "" (smooth rendering)
string
default:"5050"
LED package size: “5050”, “3535”, or “2020”
Chaining
You can chain multiple strips together by connecting the DOUT pin of one strip to the DIN pin of the next strip. All LEDs share the same data line and are addressed sequentially.Pixel rendering
Shape
Set thepixelShape attribute to control how each LED is rendered:
""(default) - Smooth rendering (one pixel per LED, scaled up)"square"- Square pixel rendering"circle"- Circular pixel rendering
Size
Set thepixelSize attribute to match real-world LED package dimensions:
Arduino code example
See also
- wokwi-led-matrix - WS2812 NeoPixel Compatible LED Matrix
- wokwi-led-ring - WS2812 NeoPixel Compatible LED Ring