RGB is LED Unit include 3 individual LEDs. It is also one of the Unit from M5GO Kit. Each one can display anycolor based on RGB value. One feature of this Unit is extension, which means you can have mutiple of them wired together.
This is a very useful piece on STEM class, students can program it to realize some of cool applications, for example a traffic light.
<blockquote style="box-sizing: border-box; font-size: 16px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none; margin: 2em 0px; overflow: visible; padding: 1.5em; border-width: var(--blockquote-border-width, 0); border-style: var(--blockquote-border-style); border-color: var(--blockquote-border-color); border-radius: var(--blockquote-border-radius); background: var(--blockquote-background); color: rgb(33, 37, 41); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; quotes: "1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.
2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.
The code below is incomplete. To get complete code, please click here.
/* Install the AdaFruit NeoPixel library first */ #include <Adafruit_NeoPixel.h> #define RGB_PIN 26 #define NUMPIXELS 3 // new a object Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB+NEO_KHZ800); int delayval = 150;// delay for half a second // initialization pixels.begin(); // This initializes the NeoPixel library. // display rgb pixels.setPixelColor(0, pixels.Color(100,0,0));//parameter = (rgb index, color) pixels.setPixelColor(1, pixels.Color(0,100,0)); pixels.setPixelColor(2, pixels.Color(0,0,100)); pixels.show(); // This sends the updated pixel color to the hardware.
Features:Sturdy and durable, all-metal stainless ste...
R 69.00–R 629.00
Features:Sturdy and durable, all-metal stainless steel product, the product is made of all-metal, and the product has high hardness. At the same time, stainless steel is used to...
Features:
【Hand Washable Desktop Cleaning Mini Mop】...
R 130.00R 99.99
Features:
【Hand Washable Desktop Cleaning Mini Mop】
Self-squeezing mini mop is designed to be compact and lightweight, with a stretch length of 11.61*6.1in/29.5*15.5cm and a we...
Specification:Brand: MJXName:Motor Output Teeth / All Metal Gear Differential Case / Transmission Main Gear / Front Bevel Gear / Esc Receiving Component / Remote ControlMaterial...
This little module is perfect for when you need to k...
R 150.00R 99.99
This little module is perfect for when you need to know if there's a laser around. It'll output a high level signal when it detects a laser, and a low level signal when there is...