Jump to content

Component: LED Mono User Images (LED): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 52: Line 52:


''<span style="color:red;">No additional examples</span>''
''<span style="color:red;">No additional examples</span>''




Line 57: Line 59:
==Macro reference==
==Macro reference==


===TurnOn===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
Line 70: Line 73:




===SetState===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
Line 88: Line 92:




===TurnOff===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-

Revision as of 11:51, 3 February 2023

Author Matrix TSL
Version 1.0
Category LED


LED Mono User Images component

Component Source Code

Please click here to download the component source project: FC_Comp_Source_LED_Mono_User_Images_2dgi.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_LED_Mono_User_Images_2dgi.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples



Macro reference

TurnOn

TurnOn
Turn the LED on 
- VOID Return


SetState

SetState
Sets the LED indicator to be on or off. 
- BOOL bState
The new state of the switch (true=on, false=off) 
- VOID Return


TurnOff

TurnOff
Tun the LED off 
- VOID Return



Property reference

Properties
Connection
 
Show Connection Label
If enabled, the pin designation will be shown, e.g. B0  
Show Pin Value
Pin status of VCC or GND will be shown when enabled and simualtion is running. 
Component Label
Text to display 
Polarity
 
Appearance
Image Off
Image that will be visible during the OFF status. 
Filename Off
Browse to the image for the OFF status. 
Image On
Image that will be visible during the ON status. 
Filename On
Browse to the image for the ON status.