TriggerCounter Op
Counts how often the port was triggered
Summary (oneliner)
Useful for e.g. for debugging when you need to know how often Execute
has been triggered, or if it was triggered at all.
Full Name
- Ops.Trigger.TriggerCounter
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Click Counter
*Left click to increase counter, right click to reset*
Counts the clicks using the `TriggerCounter`-op.
A simple modulo op loops the counter.
INPUT PORTS
exe (Trigger)
Every time Execute
is triggered, the output port Times Triggered
will increment.
reset (Trigger)
Resets the counter
OUTPUT PORTS
trigger (Trigger)
Triggers every time Execute
is triggered
timesTriggered (Number)
The number of times the input port Execute
has been triggered