Difference between revisions of "Component: Switch (Generic) ()"

From Flowcode Help
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
 
==Component Source Code==
 
==Component Source Code==
  
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/sw_generic.fcfx FC_Comp_Source_temp/sw_generic.fcfx]
+
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_sw_generic.fcfx FC_Comp_Source_sw_generic.fcfx]
  
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/sw_generic.fcfx FC_Comp_Source_temp/sw_generic.fcfx]
+
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_sw_generic.fcfx FC_Comp_Source_sw_generic.fcfx]
  
 
==Detailed description==
 
==Detailed description==
Line 63: Line 63:
  
  
==Macro reference==
 
  
  
 +
 +
 +
==Macro reference==
  
 
==Property reference==
 
==Property reference==

Latest revision as of 13:14, 7 February 2023

Author Matrix Ltd
Version 1.0
Category


Switch (Generic) component

Simple push button switch with LED indicator. Momentary or latching action can be chosen in the properties.

Component Source Code

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

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

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Connections
Fc9-type-5-icon.png Connection
Chip pin to which this switch connects. 
Fc9-type-16-icon.png Polarity
Selects whether the switch sets the chip pin high or low when activated. 
Fc9-type-14-icon.png Debounce (ms)
The time in milliseconds allowed for the button state to settle following a change. NB) Debouncing is only used when reading the switch state using the component macros. Chip pins are NOT debounced. 
Fc9-conn-icon.png Simulation
Fc9-type-16-icon.png Operation
Latching = Click to turn on, click again to turn off. Momentary = Click to turn on, release to turn off.