Atmega running slow

Sounds like you forgot to set the fuses for the external clock. Burn the bootloader (This sets the fuses amongst other things), and re-upload your code.

1 Like