Step/Iterate Analog Array Items

From Visuino
Jump to navigation Jump to search

File:TArduinoStepIterateAnalogArray.png

Summary

Iterates through items in an analog array, outputting one item at a time.

Description

The Step/Iterate Analog Array Items component cycles through the elements of an input analog array. Each step outputs the current item, updates the index, and increments the count of items processed. The **Empty** clock can be used to trigger a step without producing output. This is useful for sequential processing of analog arrays or feeding array elements into other components one at a time.

Diagram:

Properties

  • Enabled – Enables or disables the iteration operation.

Pins

Input Pins

  • In (analog array) – Input array to iterate through.

Output Pins

  • Out (analog array) – Current element of the array being processed.
  • Empty (clock) – Clock input to trigger iteration without output.
  • Count (integer) – Number of elements processed so far.
  • Index (integer) – Current index in the array.

Categories