Limit Integer between Min and Max: Difference between revisions

From Visuino
Jump to navigation Jump to search
Created page with "Image:TArduinoLimitIntegerBetweenMinMax.png == Summary == Restricts an integer value to stay within a defined minimum and maximum range. == Description == The **Limit Integer between Min and Max** component ensures that the incoming integer signal remains between the specified **Min** and **Max** values. If the input is below **Min**, the output will be **Min**. If the input is above **Max**, the output will be **Max**. Values within the range pass through..."
 
(No difference)

Latest revision as of 03:38, 15 August 2025

File:TArduinoLimitIntegerBetweenMinMax.png

Summary

Restricts an integer value to stay within a defined minimum and maximum range.

Description

The **Limit Integer between Min and Max** component ensures that the incoming integer signal remains between the specified **Min** and **Max** values. If the input is below **Min**, the output will be **Min**. If the input is above **Max**, the output will be **Max**. Values within the range pass through unchanged.

Diagram:

Categories

Properties

  • Max – Maximum allowed integer value (default: `1000`).
  • Min – Minimum allowed integer value (default: `-1000`).

Pins

  • In – Integer input.
  • Out – Integer output clamped between **Min** and **Max**.