How a Multiplexer Works.
A multiplexer is a switch that connects many inputs to one output according to a given digital code. In fact, multiplexers come in two kinds: analog and digital. Analog ones are built on field-effect transistors and pass the signal in both directions, while digital ones replicate the signal from the selected input to the output. Below we'll talk about the analog multiplexer...