Meowbit Guide 10 - Neopixel

 Go back to Product Documents Navigation 

 Go back to Meowbit Documents Navigation 

 

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

MakeCode Arcade Coding Tutorial

../_images/acbanner1.png

 

Controlling LED strip

Load Light Extension

Loading Extensions

../_images/sd5_1.png

../_images/robotbit3_1.png

 

Blocks for controlling LED strips

../_images/robotbit4_1.png

 

Programming LED strip of the Robotbit

The LED strip on the Robotbit is connected to P16.

../_images/robotbit15_1.png

Lighting up all 4 LEDs

../_images/robotbit10_1.png

Sample Code Link

 

RGB color

../_images/robotbit11_1.png

Sample Code Link

 

HSL color

../_images/robotbit12_1.png

Sample Code Link

 

Controlling individual lights

The index of the LED lights starts from 0.

../_images/robotbit13_1.png

Sample Code Link

 

Photon effect

../_images/robotbit14_1.png

Sample Code Link

 

Kittenblock Coding Tutorial

../_images/kbbanner.png

Blocks for controlling the LED strip

../_images/kb17_1.png

 

Programming the LED strip of the Robotbit

The LED strip of the Robotbit is connected to P16.

../_images/robotbit19.png

Lighting up all LEDs

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

../_images/robotbit20.png

 

RGB color

../_images/robotbit21.png

 

Controlling Individual Lights

The index of the LED lights starts from 0.

../_images/robotbit22.png

 

 

If you have any question, please feel free to contact us at Discord, we will always be there to help.

 

KittenBot Team

 

 Go back to Product Documents Navigation 

 Go back to Meowbit Documents Navigation 

Leave a comment

Please note, comments need to be approved before they are published.