Shift registers for switch matrix and LED matrix - Arduino