Lighting Up the WS2812 RGB LED

This guide will show you how to light up the WS2812 RGB LED on your Maker Uno RP2040 board. There are two on-board RGB LEDs, both of which are controlled by the same pin, GP25. 

1. While your Maker Uno RP2040 is connected to the computer, open your editor software (for example Thonny). Select the code.py file in your drive. 

2. Copy and paste the following code to your editor.

3. Flash the code to your Maker Uno RP2040. The expected outcome is to blink both on-board RGB LEDs with red color, each blinking every one second.

Library file(s) required:
    neopixel.mpy

If you don't have this file in your computer, download the lib bundle here and search for this file inside the "lib" folder.

4. You may also try to flash this code to your Maker Uno RP2040. In this code you will able to control the onboard WS2812 RGB LEDs both individually and collectively.

อุปกรณ์ฮาร์ดแวร์

Maker Uno RP2040

THB503.80 THB470.84

x 1 หน่วย