User Tools

Site Tools


en-us_commands:edge_scale

Edge detection, state toggle, and range conversion

Detect input transitions, toggle a state, or convert a value to another range.

Edge Detection

  • Iup() — Returns true only at the instant the input changes from OFF to ON.
  • Idown() — Returns true only at the instant the input changes from ON to OFF.

State Toggle

  • Ialt() — Toggles the specified state ON/OFF at each input rising edge.

Range Conversion

  • Iscale() — Converts an integer input value to the specified integer range.
  • Iscalef() — Converts a floating-point input value to the specified floating-point range.

← Built-in function list

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki