Find Analog Array Position

From Visuino
Jump to navigation Jump to search

File:TArduinoFindAnalogArrayPosition.png

Summary

Finds the index of a specified value within an analog array.

Description

The **Find Analog Array Position** component searches the input analog array for a matching value from the **Value Elements**. 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 values to search for in the input array.

Pins

Input Pins

  • In – Input analog array to search.

Output Pins

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