arduino code for driving LEDs with shift registers, data from SD and accelerometer.