If your Arduino application only needs to display numbers, consider using a seven-segment display. The severn-segment display has seven LEDs arranged in the shape of number eight. ... In a common-anode display, the positive terminal of all the eight LEDs are connected together and then connected to pin 3 and pin 8.