|
|
(6 intermediate revisions by the same user not shown) |
Line 16: |
Line 16: |
| | | |
| ==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_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_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_sw_generic.fcfx FC_Comp_Source_sw_generic.fcfx] |
| | | |
| ==Detailed description== | | ==Detailed description== |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| | | |
| | | |
Line 32: |
Line 40: |
| | | |
| ==Examples== | | ==Examples== |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| | | |
| | | |
Line 43: |
Line 57: |
| ''<span style="color:red;">No additional examples</span>'' | | ''<span style="color:red;">No additional examples</span>'' |
| | | |
− | ==Macro reference==
| |
| | | |
| | | |
| | | |
− | ==Property reference==
| |
| | | |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
− | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| |
− | | width="90%" | Connection
| |
− | |-
| |
− | | colspan="2" | Chip pin to which this switch connects.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| |
− | | width="90%" | Polarity
| |
− | |-
| |
− | | colspan="2" | Selects whether the switch sets the chip pin high or low when activated.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| |
− | | width="90%" | Debounce (ms)
| |
− | |-
| |
− | | colspan="2" | 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.
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
− | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| |
− | | width="90%" | Operation
| |
− | |-
| |
− | | colspan="2" | Latching = Click to turn on, click again to turn off. Momentary = Click to turn on, release to turn off.
| |
− | |}==Macro reference==
| |
| | | |
| | | |
| + | |
| + | |
| + | |
| + | |
| + | ==Macro reference== |
| | | |
| ==Property reference== | | ==Property reference== |
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
|
Properties
|
|
Connections
|
|
Connection
|
Chip pin to which this switch connects.
|
|
Polarity
|
Selects whether the switch sets the chip pin high or low when activated.
|
|
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.
|
|
Simulation
|
|
Operation
|
Latching = Click to turn on, click again to turn off. Momentary = Click to turn on, release to turn off.
|