// Jmd 2012_01 // jmdefais@wanadoo.fr // LED clignotante #define F_CPU 9600000UL // L'oscillateur interne est sur 9,6 Mhz #include // Fichier de gestion d'entrées/ sorties #include // Fichier de temporisation int main(void) { DDRB = 0xFF; // Port B en sortie while(1) // Boucle sans fin { PORTB =0; // Led au niveau 0 _delay_ms(500); // Attente 500 ms PORTB = 255; // Led au niveau 1 _delay_ms(500); // Attente 500 ms } }