Class to interface to 74HC595 from ATtiny and ATmega processors