library to control the 74HC595 multiplexor (see http://bildr.org/?s=74hc595)