Find Unsigned Array Position

From Visuino
Jump to navigation Jump to search

File:TArduinoFindUnsignedArrayPosition.png

Summary

Finds the index of the first occurrence of a specified unsigned value within an unsigned array.

Description

The **Find Unsigned Array Position** component searches the input unsigned array for matching values defined in the **Value Elements**, starting from the beginning of the array. It outputs the index of the first occurrence found. If no match is found, the **Missing** pin triggers.

Diagram:

Properties

  • Enabled – Enables or disables the component.
  • Value Elements – Defines the unsigned values to search for in the input array. Value elements can be of type **Value** or **Value Mitov**.

Pins

Input Pins

  • In – Input unsigned array to search.

Output Pins

  • Out – Index of the first found unsigned value in the array.
  • Missing (clock) – Triggered if the value is not found.