A 7-segment display works by inputting an eight-digit binary number to the corresponding pins of the 7-segment digital display. Each number can be formed by activating specific LEDs and specific combinations of binary numbers form the desired symbols, numbers or letters.