The C application to control the shift register
clean up