Integer To Integer Array

From Visuino
Jump to navigation Jump to search

File:TArduinoIntegerToIntegerArray.png

Summary

Combines multiple integer inputs into a single integer array output.

Description

The Integer To Integer Array component collects several individual integer inputs and merges them into one output array. You can configure the number of Input Pins through the Input Pins property — each representing an element of the resulting array.

When a signal is received on the Clock pin, the component reads the current values from all integer inputs and outputs them as a single integer array through the Out pin. This is useful for grouping multiple numeric signals into a structured array for further processing or transmission.

Diagram:

Properties

  • Input Pins – Defines the number of integer input pins (default is 8).

Pins

Input Pins

  • In – Integer input pins; the number of pins depends on the Input Pins property (example: pin [0], pin [1], …).
  • Clock – Triggers reading of all integer inputs and sending the combined array.

Output Pins

  • Out – Outputs the composed integer array containing all input values.

Categories