Manual

RGB module
Working voltage: 3V~5V
Input type: PWM. The value (0~255) is input into RDDB three interfaces as digitial value.
The color of RGB LED is controled by PWM.
Interface mode: pH2.0~4P
Module size: 35*26.3mm
Module weight: 49g
Pin denifition:
B
Blue intput
G
Green input
-
GND
R
Red input
Product description: RGB LED consists of 3 leds. Each led has a red light, a green light and a
blue light. These three colors leds can produce any color. The RGB LED has red, green and
blue light transmitters and is usually connected to a common lead (anode or carthode) using
three wires. The module is a commong cathode led.
Micro:bit
Example 1
code
4