LabWired The easy way to build hardware
board I/O module

LED

The LED is a board I/O module in the LabWired part catalog. Its catalog type is led. It connects to the MCU over GPIO. It has 2 pins. No device model of its own. Behind a transistor or relay contact it is a D card in the in-core analog circuit. A GPIO→resistor→LED blink path stays digital (pin drive + indicator), and a meter on that net reports the LED as digitally simulated rather than inventing a reading.

LED in LabWired
Rendered by the matching LabWired editor component.

Key facts

CategoryBoard I/O modules
Catalog typeled
InterfaceGPIO
Pins2
DatasheetVishay TLHR5400 5 mm LED datasheet

What LabWired simulates

What is simulated

Analog circuit element

How it was validated

Not applicable

LED pinout

PinElectrical typeFunction
A Passive —
K Passive —

How to simulate the LED in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the LED (catalog type led).
  3. Connect A and K as your circuit needs.
  4. Run the firmware. When the part is in an analog circuit, as described above, the in-core analog solver computes it next to the firmware.

Related Board I/O modules

All Board I/O modules · All parts

Modelled from Vishay TLHR5400 5 mm LED datasheet.