Jump to content

Component: LED Template (LED)

From Flowcode Help
Revision as of 16:30, 7 January 2022 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.3 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author Matrix Ltd
Version 1.3
Category LED


LED Template component

Base for creating LEDs and other on/off visual indicators. Choose a 'Target Object' that will change colour when the pin changes; if multiple objects must change color, group them, and target the group. When 'Auto off color" is selected, changing the 'on color' will automatically choose an off color by reducing the on-color intensity.

Component Pack

FREE

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Downloadable macro reference

TurnOn
Turn the LED off. 
- VOID Return


TurnOff
Turn the LED on. 
- VOID Return



Property reference

Properties
Connections
Pin
Chip pin to connect the LED to. 
Polarity
Active High: Pin true -> On color, Pin false -> Off color Active Low: Pin true -> Off color, Pin false -> On color 
Simulations
Target Object
Set a target object to be the illuminating part of the LED. To change the colour of multiple objects, group them first, then target the group. 
On Color
The color of the LED when it is turned on. 
Off Color
The color of the LED when it is turned off. 
Auto Off Color
When this is selected, the off color is automatically set to a darker version of the on color.