The most common method for interfacing multiple switches—multiplexing— allows for the connection of (N/2)2 switches with N microcontroller IO lines. The method described below, which has its roots in ...