I recently got a Raspberry Pi for my birthday and this was the first thing I built with it. My goal was to learn about using the GPIO outputs on the device and this seemed like a quick and simple project.
The code was written in Python and I was surprised see it took less than 30 lines of code.
I used 9 total LEDs, 8 of which were used to display the binary number which provided 255 possible numbers while reserving one LED for overflow detection.