Figure 2—By choosing a microcontroller with at least eight I/Os, all five switches in the JS1100AQ can be monitored with enough outputs left over for a software SPI interface.