Read from multiple switches?

You could use the 4051 to (de)multiplex your digital i/O pins.

Hey mikmo - did you really mean that the 4051 can also mux/demux digital inputs? are you sure?