BoolDebounce Op
Debounce a boolean based on time and direction
Debounce a boolean based on time and direction
Summary (oneliner)
-First input is the boolean to debounce
-Second input is the "time" of the debounce (in seconds): how many time to wait to pass boolean to output.
-Third input is "direction". The direction input will determine how the debounce is applied based on the changes in the boolean input value:
direction 0: Debounce on any direction. direction 1: Debounce only when the input changes from false to true. direction 2: Debounce only when the input changes from true to false.
- Ops.Patch.P8FFfwy.BoolDebounce
- Patch Op - visible in this patch only
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Arduino Serial - Example
This cables.gl Op provides a lightweight, plug-and-play Web Serial bridge designed for workshops and rapid prototyping, exchanging JSON data at 115200 bps to control servos, PWM, and digital outputs while streaming analog inputs, complete with an included Arduino example sketch in a .zip archive.
INPUT PORTS
Boolean value which will be copied to the output port
How many time to wait to pass boolean to output (in second)