Touch Mux(Multi channel Switch)

From Visuino
Jump to navigation Jump to search

File:TArduinoTouchMuxMultiChannelSwitch.png

Summary

Routes one of multiple touch inputs to a single output, based on a channel selection.

Description

The Touch Mux (Multi Channel Switch) component selects one of several touch input channels and forwards it to the Out pin.

The Select input chooses which input channel is active.

The Initial Channel property defines which input is active at startup.

The Input Pins property sets how many touch inputs are available (default: 2).

This component is useful when you need to dynamically switch between multiple touch sources, such as selecting which sensor or input device drives the output.

Diagram:

Categories

Properties

  • Initial Channel – Integer value defining the default selected input channel.
  • Input Pins – Number of touch input channels (default: 2).

Pins

  • In – Touch inputs [0] to [N-1], number of pins depends on Input Pins property.
  • Select – Integer input specifying which channel is routed to the output.
  • Out – Touch output from the selected input channel.