MOVED: Creating an Arduino sketch operating on binary counter??

This topic has been moved to Programming Questions.

http://forum.arduino.cc/index.php?topic=230190.0