# Meowbit & Neopixel

Meowbit can also be programmed to control Neopixel LED strips, such as the one on Robotbit.

### MakeCode Arcade Coding Tutorial

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

### Controlling LED strip

#### Load Light Extension

#### [Loading Extensions](/programming-platforms/makecode-tutorial/kittenbot-and-makecode.md)

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

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

#### Blocks for controlling LED strips

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

#### Programming LED strip of the Robotbit

```
The LED strip on the Robotbit is connected to P16.
```

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

**Lighting up all 4 LEDs**

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

[Sample Code Link](https://makecode.com/_XXwcLH7YpW2x)

**RGB color**

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

[Sample Code Link](https://makecode.com/_CTVgMgevD2Ks)

**HSL color**

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

[Sample Code Link](https://makecode.com/_M6M9VrHbj8dH)

**Controlling individual lights**

```
The index of the LED lights starts from 0.
```

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

[Sample Code Link](https://makecode.com/_89Hb2TW6LJ0a)

**Photon effect**

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

[Sample Code Link](https://makecode.com/_92m20h91uL5j)

### Kittenblock Coding Tutorial

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

#### Blocks for controlling the LED strip

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

#### Programming the LED strip of the Robotbit

```
The LED strip of the Robotbit is connected to P16.
```

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

**Lighting up all LEDs**

```
All effects will only be shown after using Color Update block.
```

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

**RGB color**

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

**Controlling Individual Lights**

```
The index of the LED lights starts from 0.
```

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


---

# 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://sharinghub-eng.kittenbot.hk/main-controllers/meowbit/meowbit-programming-tutorial/meowbit-and-neopixel.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.
