added link to impulses |
m fix calls being called impulses |
||
Line 4: | Line 4: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":"Set", "Type":" | {"Name":"Set", "Type":"Call"}, | ||
{"Name":"Reset", "Type":" | {"Name":"Reset", "Type":"Call"}, | ||
{"Name":"Toggle", "Type":" | {"Name":"Toggle", "Type":"Call"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
Line 23: | Line 23: | ||
== Inputs == | == Inputs == | ||
=== Set ([[Impulses| | === Set ([[Impulses|Call]]) === | ||
Set the state to True. | Set the state to True. | ||
=== Reset ([[Impulses| | === Reset ([[Impulses|Call]]) === | ||
Set the state to False. | Set the state to False. | ||
=== Toggle ([[Impulses| | === Toggle ([[Impulses|Call]]) === | ||
Toggle the state to the opposite state. | Toggle the state to the opposite state. | ||
Revision as of 19:43, 9 February 2024
Boolean Latch
Flow
The Data Model Boolean Toggle or Boolean Latch is a node that can be pulsed to toggle a Data Model Boolean between true and false.
Data Model Boolean Toggle is a Data Model Store with impulses to set, reset and toggle itself. This means you can use a Write to change the value directly if you input the * bool into the Write's Variable field.
Inputs
Set (Call)
Set the state to True.
Reset (Call)
Set the state to False.
Toggle (Call)
Toggle the state to the opposite state.
Outputs
OnSet (Continuation)
Fires when Set is pulsed.
OnReset (Continuation)
Fires when False is pulsed.
* (bool)
The current state.