Difference between revisions of "Component: LED Template (LED)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 28: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 38: | Line 42: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TurnOn''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TurnOn''' | ||
|- | |- | ||
− | | colspan="2" | Turn the LED | + | | colspan="2" | Turn the LED on. Active high - The pin is configured to output high. Active low - The pin is configured to output low. |
|- | |- | ||
|- | |- | ||
Line 51: | Line 55: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TurnOff''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TurnOff''' | ||
|- | |- | ||
− | | colspan="2" | Turn the LED off. | + | | colspan="2" | Turn the LED off. Active high - The pin is configured to output low. Active low - The pin is configured to output high. |
|- | |- | ||
|- | |- |
Revision as of 14:41, 16 January 2023
Author | Matrix Ltd |
Version | 1.3 |
Category | LED |
Contents
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 Source Code
Please click here for the component source code: FC_Comp_Source_LED_Base.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
TurnOn |
Turn the LED on. Active high - The pin is configured to output high. Active low - The pin is configured to output low. | |
![]() |
Return |
![]() |
TurnOff |
Turn the LED off. Active high - The pin is configured to output low. Active low - The pin is configured to output high. | |
![]() |
Return |