Compare Unsigned Range

From Visuino
Revision as of 23:51, 22 August 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoCompareUnsignedRange.png == Summary == Compares an unsigned value against a defined range and outputs a boolean result. == Description == The **Compare Unsigned Range** component checks if an incoming unsigned value falls within or outside a specified range. You can configure whether the **Min** and **Max** limits are inclusive with the **Include Limits** property, and invert the logic using **Is Outside Range**. This makes the component u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoCompareUnsignedRange.png

Summary

Compares an unsigned value against a defined range and outputs a boolean result.

Description

The **Compare Unsigned Range** component checks if an incoming unsigned value falls within or outside a specified range. You can configure whether the **Min** and **Max** limits are inclusive with the **Include Limits** property, and invert the logic using **Is Outside Range**. This makes the component useful for threshold checks, range validation, and control logic.

Diagram:

Categories

Properties

  • Enabled – Enables or disables the component.
  • Include Limits – If true, the range comparison includes the boundary values.
  • Is Outside Range – If true, the output is **True** when the value is outside the range.
  • Range – The minimum and maximum values that define the valid range.

Pins

Input Pins

  • In – Unsigned value to compare.

Output Pins

  • Out – Boolean output, **True** if the comparison condition is satisfied.