code de la carte IHM avant les bugs et avant le travail effectué avec Melchior
Dependencies: mbed SerialHalfDuplex SDFileSystem liaison_Bluetooth ident_crac DISCO-F469NI_portrait
Diff: IHM/ihm.cpp
- Revision:
- 29:ff575aff301f
- Parent:
- 28:7f2990747e09
- Child:
- 32:7f8e3ee2adac
diff -r 7f2990747e09 -r ff575aff301f IHM/ihm.cpp --- a/IHM/ihm.cpp Fri Jul 17 14:35:11 2020 +0000 +++ b/IHM/ihm.cpp Wed Mar 17 08:13:52 2021 +0000 @@ -85,7 +85,9 @@ DrawCheck(30,30,50,343,0); DrawCheck(30,30,50,393,0); lcd.DisplayStringAt(100, 250, (uint8_t *)"Init CAN", LEFT_MODE); + DrawCheck(30,30,50,243,can_present); lcd.DisplayStringAt(100, 300, (uint8_t *)"Micro SD", LEFT_MODE); + DrawCheck(30,30,50,293,sd_present); lcd.DisplayStringAt(100, 350, (uint8_t *)"Carte Moteur", LEFT_MODE); lcd.DisplayStringAt(100, 400, (uint8_t *)"Balise IR", LEFT_MODE); FORCE_LAUNCH.Draw(0xFFFF0000, 0); @@ -566,10 +568,10 @@ break; case TACTIQUE : //AFFICHE LA LISTE DES STRATS AFIN DE SELECTIONNER CELLE VOULUE - if (Cote == 0) { + if (Cote == 1) { lcd.Clear(JAUNE); lcd.SetBackColor(JAUNE); - } else if (Cote == 1) { + } else if (Cote == 0) { lcd.Clear(VIOLET); lcd.SetBackColor(VIOLET); } else {