The core of the circuit is the ATMEGA328 microcontroller. The four segment LED display is connected to PORTC and PORTD. With multiplexing the data will be show on the display. Via the I/O port of PORTB and PORTC the digits are switched on and off while PORTD select the segments.

 LED display