Switch Class: Difference between revisions

m
→‎PROPERTIES Section: Properties Informations
(Adding Switches Methods)
m (→‎PROPERTIES Section: Properties Informations)
Line 68: Line 68:
<syntaxhighlight lang="ini">
<syntaxhighlight lang="ini">
[PROPERTIES]
[PROPERTIES]
prop01=device
prop01=device     # Device Logical Name
prop02=name
prop02=name       # Switch Name
prop03=port
prop03=port       # MCP23017 port where the switch is connected
prop04=pin
prop04=pin         # MC23017 input where the switch is connected
prop05=values
prop05=values     # Values that will be provided for the switch state
prop06=valuestype
prop06=valuestype # Typed Values that is used with this switch
prop07=invert
prop07=invert     # Describe if the input need to be manage inverted [ activate = 0 ]
prop08=node
prop08=node       # FG Property that is manage by the switch
</syntaxhighlight>
</syntaxhighlight>


534

edits