Component: Switch Push Button Dummy (Misc)

From Flowcode Help
Revision as of 17:51, 9 November 2022 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category Misc


Switch Push Button Dummy component

A simple push switch allowing latched and none latched operation. For componets like keypad.

Component Source Code

Please click here for the component source code: FC_Comp_Source_Switch_Push_Button_2dgi_no_port_dummy.fcfx

Detailed description

No detailed description exists yet for this component

Examples

Simple example showing how to use the translation component when designing multi-language user interfaces.

FC6 Icon.png Translations Demo


Clicking the buttons on the keypad selects the active language.

1=English

2=French

3=German

Downloadable macro reference

Fc9-comp-macro.png ReadState
Reads the button state as 0 for released or 1 for pressed Performs debounce if required 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png WaitUntilHigh
Waits until the switch is in state 'high' The interpretation of 'high' depends on the polarity 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetState
Sets the switch to be on or off. 
Fc9-bool-icon.png - BOOL State
The new state of the switch (true=on, false=off) 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png WaitUntilLow
Waits until the switch is in state 'low' The interpretation of 'high' depends on the polarity 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Switch Settings
Fc9-type-7-icon.png Latching
 
Fc9-conn-icon.png Label
Fc9-type-16-icon.png Component Label
 
Fc9-type-2-icon.png Label Colour
 
Fc9-conn-icon.png Appearance
Fc9-type-16-icon.png Style
 
Fc9-type-12-icon.png Type
 
Fc9-type-10-icon.png On Label
 
Fc9-type-10-icon.png Off Label