Digitals To Unsigned(Binary Encoder)

From Visuino
Revision as of 04:56, 22 August 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoDigitalsToUnsigned.png == Summary == Encodes multiple digital inputs into a single unsigned integer value. == Description == The **Digitals To Unsigned (Binary Encoder)** component reads several digital inputs and combines them into a single unsigned integer output. Each digital input represents a bit in the resulting value, where the first input corresponds to the least significant bit (LSB). The number of inputs is set by the **Input Pin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Encodes multiple digital inputs into a single unsigned integer value.

Description

The **Digitals To Unsigned (Binary Encoder)** component reads several digital inputs and combines them into a single unsigned integer output. Each digital input represents a bit in the resulting value, where the first input corresponds to the least significant bit (LSB). The number of inputs is set by the **Input Pins** property, and the component can be enabled or disabled.

Diagram:

Categories

Properties

  • Input Pins – Number of digital inputs used for binary encoding.
  • Enabled – Enables or disables the component.

Pins

Input Pins

  • In – Digital inputs; the number of pins depends on the **Input Pins** property.

Output Pins

  • Out – Unsigned integer representing the encoded binary value.