Split Integer Digits
Jump to navigation
Jump to search
File:TArduinoSplitIntegerDigits.png
Summary
Splits an integer into its base-N digits on multiple outputs.
Description
The **Split Integer Digits** component decomposes the input into individual digits in the specified **Base**.
Diagram:
Categories
- File:TArduinoIntegerCategory.png Category Integer – Decomposition
Properties
- Enabled – Enables or disables the component.
- Base – Integer 2–36 – numeric base used for digit extraction (default 10).
- Digits – Unsigned integer – number of digit outputs to produce.
- Fill Value – Integer digit (0..Base−1) used to populate any unused outputs (e.g., leading positions when the number has fewer digits than **Digits**).
Pins
- In – Integer input.
- Digit[n] – Digit output at index **n** (0..Base−1). Index 0 is least significant digit.