# NeoPixel WS2812 LED Setup Instruction

## Ardupilot NeoPixel Setup Guide

Follow the instruction below to set this up.

* Set [NTF\_LED\_TYPES](https://ardupilot.org/copter/docs/parameters.html#ntf-led-types) to include NeoPixel

<figure><img src="/files/lksCGegLaRKIpiI2JZGs" alt=""><figcaption></figcaption></figure>

* Setup LED Parameter：

  * &#x20;[NTF\_LED\_BRIGHT:](https://ardupilot.org/copter/docs/parameters.html#ntf-led-bright-led-brightness) 3
  * &#x20;[NTF\_LED\_LEN](https://ardupilot.org/copter/docs/parameters.html#ntf-led-len) : 0
  * &#x20;[NTF\_LED\_OVERRIDE](https://ardupilot.org/copter/docs/parameters.html#ntf-led-override-specifies-colour-source-for-the-rgbled): 0

  <figure><img src="/files/5yFL4z0lYBhHHxLfDhWm" alt=""><figcaption></figcaption></figure>
* In this example, we connected the wiring as follow:

  * Motor 1 LED -> AUX (FMU) PWM 1
  * Motor 2 LED -> AUX (FMU) PWM 2
  * Motor 3 LED -> AUX (FMU) PWM 3
  * Motor 4 LED -> AUX (FMU) PWM 4

  <figure><img src="/files/YwNmJOjnO05Ysd40u4qV" alt="" width="287"><figcaption><p>Ardupilot Default Motor# &#x26; Direction (Quad X)</p></figcaption></figure>
* In the Servo Output Page, set:
  * &#x20;\#9 function -> NeoPixel1&#x20;
  * &#x20;\#10 function -> NeoPixel2
  * &#x20;\#11 function -> NeoPixel3&#x20;
  * &#x20;\#12 function -> NeoPixel4&#x20;

<figure><img src="/files/f2OmlFJbskkjnqhPSwtB" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.holybro.com/drone-development-kit/x650-development-kit/neopixel-ws2812-led-setup-instruction-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
