The animated LED is a light emitting diode whose color changes depending on the current or voltage. The LED can be modeled using a diode or a resistor.

Parameters

Parameter Description Default
MODEL This parameter specifies the model. For bicolor LEDs, two models separated by a space must be specified. The format is as follows:
<model> [<model2>]

model specifies the name of the default model that you want to use. See LED Model for information about model parameters.

model2 specifies the name of the model to be used for the second diode included in the bicolor LEDs. For example:

RED YELLOW

Assigns the RED model to the first diode and the YELLOW model to the second diode. RED, ORANGE, YELLOW, GREEN, BLUE, WHITE are predefined.

 
POWER_NODE Digital power node name. Is the node used by the interface subcircuits which connect analog nodes to digital nodes. This parameter is optional and must be specified only if the LED is simulated in digital mode. $G_DPWR
GROUND_NODE Digital ground node name. Is the node used by the interface subcircuits which connect analog nodes to digital nodes. This parameter is optional and must be specified only if the LED is simulated in digital mode. $G_DGND

See also