The Arduino Uno controls the seven segment and displays numbers form 0 to 9.

Use a seven segment display - common cathode connected to Arduino Uno via seven resistors 220 ohm. the segments of the 7 segment displays are connected from pin 13 to pin 7,where pin 13 is connected to segment "a"and pin 7 connected to segment "f".