# 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](https://sharinghub-eng.kittenbot.hk/programming-platforms/makecode-tutorial/kittenbot-and-makecode)

![](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)
