Atmega3216pu

Hi everyone,

I'm new in microcontrlers programing, and I'm using atmega3216pu, using atmel studio and usbasp programer,
the problem is when i setup the delay fonction on 1000 ms, the led bling faster then 1s!! can you explaine this!!? thanks!

Your F_CPU value is likely wrong or your you have the wrong clock divisor set (or some combination of the two).