diff --git a/main.c b/main.c index 869b5a4..b0da2ae 100644 --- a/main.c +++ b/main.c @@ -30,14 +30,15 @@ #define ASCENSEUR_LACHE_POT_JARDINIERE 2 #define ASCENSEUR_LACHE_PLANTE 2 -#define STATU_PINCE_TIENT 0 -#define STATU_PINCE_LACHE 1 +#define STATU_PINCE_LACHE 0 +#define STATU_PINCE_TIENT 1 -#define STATU_CAME_POUSSE 0 -#define STATU_CAME_NEUTRE 1 +#define STATU_CAME_NEUTRE 0 +#define STATU_CAME_POUSSE 1 + +#define STATU_BANDEROLLE_NEUTRE 0 +#define STATU_BANDEROLLE_DEPLIE 1 -#define STATU_BANDEROLLE_DEPLIE 0 -#define STATU_BANDEROLLE_NEUTRE 1 unsigned result0, result1; @@ -86,9 +87,9 @@ void main() // Communication char message [256]; - char statu_pince; - char statu_came; - char statu_banderolle; + char statu_pince = STATU_PINCE_LACHE; + char statu_came = STATU_CAME_NEUTRE; + char statu_banderolle = STATU_BANDEROLLE_NEUTRE; communication_init(); // ADC