Logic
Library for logic level processing.
Available Functions
latchROS(set, reset)
Latch output to true when the set argument is true. Reset the output to false when reset is true. Prioritize reset over set if both inputs are true.
Usage
core.logic.latchROS(set, reset);
Arguments
- set
- [boolean] latches the output to
true - reset
- [boolean] resets the output to
falseregardless of the value of set
latchSOR(set, reset)
Latch output to true when the set argument is true. Reset the output to false when reset is true. Prioritize set over reset if both inputs are true.
Usage
core.logic.latchROS(set, reset);
Arguments
- set
- [boolean] latches the output to
true - reset
- [boolean] resets the output to
falseonly if set is false
Last modified October 3, 2025: Consolidated Scripting, added Flow Example, and Fixed Typo (c4b0ec3)