I made this Arduino 8 bit binary LED counter as a solution for one member from Arduino forum. He asked if somebody can make a project that displays a decimal number in 8 bit binary format using 8 LEDs where a 1 is represented as a lit led. This project can be used in schools to display a binary number using LEDs.

The decimal number increases from 0 to 255 each time the momentary push-button is pressed. For example the number 0 is 00000000 in binary so no LEDs must be ON, number 1 is 00000001 so only the rightmost LED will be on, number 2 is 00000010 so only the second LED from the right will be on.