Measure Binary Length
Jump to navigation
Jump to search
File:TArduinoMeasureBinaryLength.png
Summary
The **Measure Binary Length** component calculates the number of elements in a binary input array and outputs this length as an integer.
Description
This component is useful for determining the size of a binary array dynamically, allowing for proper indexing, loops, or conditional processing. It counts the number of entries in the input binary array and provides the count on the output pin.
Diagram:
Properties
- Enabled (boolean) – Enables or disables the component.
Pins
Input Pins
- in (binary array) – Input binary array whose length is to be measured.
Output Pins
- out (integer) – Length of the input binary array.
Categories
- File:TArduinoUtilityCategory.png Category Utility – Utility components.
- File:TArduinoDigitalCategory.png Category Digital – Digital signal components.