User Tools

Site Tools


en-us_commands:digital_filter

Digital input filters

Use these functions when an input signal needs filtering.

  • IdigitalRead() — Reads the input several times consecutively and updates the state only when all values match. If HIGH and LOW are mixed, it retains the previous stable state.
  • Ibounce() — Applies a debounce time in both ON and OFF directions of the input.
  • IbounceOn() — Applies the time filter only when the input changes from OFF to ON.
  • IbounceOff() — Applies the time filter only when the input changes from ON to OFF.

← Built-in function list

en-us_commands/digital_filter.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki