Dual seven segment display

It isn't a good idea, current limiting is advisable. LEDs are current-operated devices, if the resistors are omitted the maximum rating of the AVR can be exceeded - check the data sheet!