> For the complete documentation index, see [llms.txt](https://sharinghub-eng.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub-eng.kittenbot.hk/main-controllers/futureboard/futureboard-kittenblock-programming-tutorial/programming-with-kittenblock-neopixel.md).

# Programming with KittenBlock: Neopixel

Common ws2812 light strips can be controlled by Futureboard.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kbbanner.png)

### NeoPixel Blocks

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/neopixel_en.png)

#### Sample Program: Controlling all lights

```
Use P7 for the onboard light strip.
```

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/neopixel_code1en.png)

#### Sample Program: Controlling individual lights

```
Use P7 for the onboard light strip.
```

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/neopixel_code2en.png)
