Binary Mux(Multi channel Switch)

From Visuino
Revision as of 08:52, 13 August 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoBinaryMuxMultiChannelSwitch.png == Summary == Selects one of multiple binary input channels to output based on a numeric selector. == Description == The **Binary Mux (Multi-channel Switch)** component lets you dynamically choose one of several binary input feeds to forward to its output. - **Initial Channel**: Determines which input channel is initially selected when the component starts. - **Input Pins**: Defines how many binary input channels ar...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoBinaryMuxMultiChannelSwitch.png

Summary

Selects one of multiple binary input channels to output based on a numeric selector.

Description

The **Binary Mux (Multi-channel Switch)** component lets you dynamically choose one of several binary input feeds to forward to its output. - **Initial Channel**: Determines which input channel is initially selected when the component starts. - **Input Pins**: Defines how many binary input channels are available (default is 2). Use the **select** pin to switch between channels at runtime, routing the selected channel's binary data to the **Out** pin.

This component is especially useful for scenarios like stream multiplexing, selecting between data sources, or conditional routing of binary data.

Diagram:

Categories

Properties

  • Initial Channel – Integer value defining which input channel is initially selected.
  • Input Pins – Number of binary input channels (default: 2).

Pins

  • pin [0]…pin [n-1] – Binary input channels, where *n* is set by **Input Pins**.
  • select – Integer input to choose which channel is forwarded to the output.
  • Out – The output binary data from the selected channel.