Text Toggle Demux
File:TArduinoTextToggleDemux.png
Summary
Use this component to route input text to one of two outputs based on a toggling boolean selector.
Description
The **Text Toggle Demux** component directs an input text to one of two output pins—**True** or **False**—depending on the state of the **Select** boolean pin. When the **Select** pin is **True**, the input text is forwarded to the **True** pin; when **Select** is **False**, the text is forwarded to the **False** pin. You can set the initial state of the selector using the **Initial Select Value** property, determining which output receives the first input.
This component is useful for implementing conditional routing or branching logic in text-based data flows, such as toggling between two processing paths based on a boolean condition.
Diagram:
Categories
Category Text - Text components category
Properties
- Initial Select Value – The initial state of the selector pin (True or False).
Pins
- In – The Text Input pin of the component or element
- Select – Summaries:Summary OutputPin Boolean
- True – The Text Output pin of the component or element
- False – The Text Output pin of the component or element