Digitals To Unsigned(Binary Encoder)
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
- 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.