Digitals To Unsigned(Binary Encoder): Difference between revisions
Jump to navigation
Jump to search
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..." |
(No difference)
|
Latest revision as of 04:56, 22 August 2025
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
- File:TArduinoSignalCategory.png Category Signal – Signal processing and conversion components.
- File:TArduinoIntegerCategory.png Category Integer – Integer and numeric manipulation.
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.