Binary clock build on shift register and IO expander.

Build circut based on sketch.

Paste code. Add required libraries (lib files included, add them to proper folders and add library in your arduino ide).

Enjoy.