One method used to convert a denary number into an 8-bit binary number is to mark down the bits needed to form the number in a placeholder grid.
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 ...