Interacting with an RGB LED unit
The RGB LED unit has three individual LEDs: red, green, and blue emitters. You can control each LED individually or simultaneously using code. You can also control the RGB LED unit’s intensity. With the M5Stack Core, you can create visually appealing light effects using the RGB LED unit. Figure 2.5 shows the RGB LED unit. To program the RGB LED, you will use the UIFlow Blockly code software discussed in Chapter 1.
Figure 2.5 – The RGB LED unit
The RGB LED unit consists of three individual pixels consisting of red, green, and blue colors. Each pixel is operated by an electronic control circuit. The colored pixels and electronic control circuit are packaged inside an RGB chip. The RGB chip is a surface mount device (SMD) of the 5050 variant component footprint. The footprint is the mechanical package of the electronic SMD device. You can see a picture and mechanical package dimensions of the RGB chip in Figure...