Zum Hauptteil springen

wokwi-rgb-led Reference

5mm Red, Green and Blue (RGB) LED.

Pin names

NameDescription
RRed LED
GGreen LED
BBlue LED
COMCommon pin*

* By default, the common pin is the anode (positive). You can change it by setting the "common" attribute to "cathode".

Attributes

NameDescriptionDefault value
commonThe common pin type: "cathode" or "anode""anode"

Simulator examples