Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/wokwi/wokwi-docs/llms.txt

Use this file to discover all available pages before exploring further.

WS2812 NeoPixel Compatible Addressable LED.

Pin names

VDD
pin
Positive voltage supply
DOUT
pin
Data output
VSS
pin
Ground
DIN
pin
Data input signal

Chaining

You can chain multiple NeoPixels by connecting the DOUT pin of one to the DIN pin of the next. All LEDs share the same data line and are addressed sequentially. For larger numbers of LEDs, consider using the LED Strip, LED Ring, or LED Matrix parts instead.

Arduino code example

#include <Adafruit_NeoPixel.h>

#define LED_PIN 6

Adafruit_NeoPixel pixel(1, LED_PIN, NEO_GRB + NEO_KHZ800);

void setup() {
  pixel.begin();
  pixel.setPixelColor(0, pixel.Color(150, 0, 0)); // Red
  pixel.show();
}

void loop() {
  delay(100);
}

Simulator examples

Build docs developers (and LLMs) love