Arduino code for multiplexing with a Shift Register 74hc595