/* Mon premier programme : fichier à compléter : aller voir le site de télécom Robotics rubrique tuto */ /* La commande #include permet d'incluer dans le fichier compilé les déclarations d'objets ( variables et procédures ) des librairies du systèmes */ #include /* Pin connected to LED */ #define LED_RED PD7 #define LED_BLUE PB0 /* Pin connected to the interruptor */ #define INTERRUPTOR0 PD4 #define INTERRUPTOR1 PD3 /* Init the hardware for the leds */ void inline init_led(void) { /* CONFIGURER LES PINS LED_RED et LED_BLUE en output*/ /* DDRD|= ... */ /* ... */ } /* Led manipulation routines */ #define toggle_blue_led() PORTB^=(1<