Find Last Binary Position
File:TArduinoFindLastBinaryArrayPosition.png
Summary
Finds the index of the last occurrence of a specified binary value within a binary array.
Description
The **Find Last Binary Position** component searches the input binary array for matching values from the **Value Elements**, starting from the end of the array. It outputs the index of the last occurrence found. If no match is found, the **Missing** pin triggers.
Diagram:
Properties
- Enabled – Enables or disables the component.
- Value Elements – Defines the binary values to search for in the input array.
Pins
Input Pins
- In – Input binary array to search.
Output Pins
- Out – Index of the last found binary value in the array.
- Missing (clock) – Triggered if the value is not found.