Compare Unsigned Range
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
- File:TArduinoComparisonCategory.png Category Comparison – Comparison and logical evaluation components.
- File:TArduinoIntegerCategory.png Category Integer – Unsigned integer operations.
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.