Am Anfang des Programms gehört noch #include <util/delay.h>