Correction des positions de démarrage
This commit is contained in:
parent
fa7bacdc9b
commit
886c8a29bd
19
main.c
19
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
|
||||
|
Loading…
Reference in New Issue
Block a user