Eachsegment has a letter. The symbol for the number 8 needs all 7 segments so is coded with all 1s. The zero symbol does not need the centre segment so that segment, G, $\begingroup\$ I'am using PIC16F84A which contains 13 pins and i have a 6 digit multiplexed 7 SEG display which need 6 pins to select digits, so it remains just 7 pins. I tried 74xx series but their problem they display digits 6 and 9 in a different format not like i want as mentioned in the photo . \$\endgroup\$ – Samir Fassak Foran input X, we first take X mod 41 and then take the result mod 11. The results are distinct mod 11, so we can extract them from a table. For example, 126 mod 41 mod 11 is 3, so if we make position 3 equal to 0, then we get the correct answer for an input of 126. The table is 9 [,6,0,8,2,3,1,7,5,4]. 7Segment LED displays are basically used to display numerical values from 0 to 9 and few characters like A, b, C, d, e, F, H, L, O, P, U, etc. 7-segment displays are widely used in a digital clock. Personally I find 'square' displays a little disconcerting. Edit by Michael Karas. The idea to rotate one seven segment display 180° to create a colon for a clock, as posed in the comments, is just not a usable solution in my estimation. I have edited this here to be able to show why. Controlsthe bottom horizontal segment. South edge, third from left (input, bit width 1) Controls the lower vertical segment on the right side. South edge, fourth from left (input, bit width 1) Controls the decimal point. Attributes Color The color with which to draw the display segments and decimal point when they are on. Poke Tool Behavior. None. Aseven segment decoder is a digital circuit designed to drive a very common type of digital display device: a set of LED (or LCD) segments that render numerals 0 through 9 at the command of a four-bit code: The behavior of the display driver IC may be represented by a truth table with seven outputs: one for each segment of the seven-segment Thetwo-digit display uses seven pins to control the seven segments of each display and one pin to select which display to drive. To display using both digits, you need to alternate between the two digits faster than the eye can perceive. Your code should look something like this: always @(posedge clk) case (switch[3:0]) 0: ssd <= 7 However seven-segment displays can form alphabets A, B, C, D, E, and F, so they can also be used for representing each display unit is usually has a dot point QslLtxV.

7 segment display alphabet codes