English: Tri-state multiplexing can be used to increase the number of keys detectable for a fixed number of inputs. With x/y multiplexing, 8 inputs can be used to detect 16 keys. However, 28 keys can be detected if tri-state multiplexing is used. If, in addition, a diode is used in series with each key, 8 I/O lines can be used to detect 56 keys. A complete 110 key computer keyboard can be implemented with just 11 I/O lines.
Without diodes, tri-state multiplexing allows (n-1)(n/2) keys to be detected with n inputs.
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.