modelXiaoRgbLed

One on-board RGB LED package with three active-low RP2040 channels

Information

The XIAO RP2040 has one integrated RGB LED package. Its red, green and blue dies are connected to GPIO17, GPIO16 and GPIO25 respectively and are active low. Each electrical channel has its own series resistor; the icon combines their measured currents into one animated RGB package.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.ResistanceRSeries330Series resistance of each LED channel
Modelica.Units.SI.CurrentIMax0.005Current at full icon brightness for each channel

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinvccCommon anode supply
Modelica.Electrical.Analog.Interfaces.NegativePinredPinActive-low red channel, GPIO17
Modelica.Electrical.Analog.Interfaces.NegativePingreenPinActive-low green channel, GPIO16
Modelica.Electrical.Analog.Interfaces.NegativePinbluePinActive-low blue channel, GPIO25

Components

TypeNameDefaultDescription
Modelica.Electrical.Analog.Basic.ResistorredResistor
Modelica.Electrical.Analog.Basic.ResistorgreenResistor
Modelica.Electrical.Analog.Basic.ResistorblueResistor
MicroPythonMCU.Peripherals.LEDred
MicroPythonMCU.Peripherals.LEDgreen
MicroPythonMCU.Peripherals.LEDblue