![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
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: Strategie/Strategie.cpp
- Revision:
- 27:ff70537a7619
- Parent:
- 24:1a13c998c7ac
- Child:
- 28:7f2990747e09
diff -r b7967815bb7d -r ff70537a7619 Strategie/Strategie.cpp --- a/Strategie/Strategie.cpp Wed Jul 08 08:47:26 2020 +0000 +++ b/Strategie/Strategie.cpp Wed Jul 08 11:24:24 2020 +0000 @@ -964,23 +964,13 @@ case ALIVE_MOTEUR: if (strat_etat_s == ATT) { - - lcd.SetTextColor(LCD_COLOR_LIGHTGREEN); - lcd.FillRect(0,400,400,150); - lcd.SetTextColor(LCD_COLOR_BLACK); - lcd.SetBackColor(LCD_COLOR_LIGHTGREEN); - lcd.DisplayStringAt(80, 450, (uint8_t *)"Carte Moteur", LEFT_MODE); + DrawCheck(30,30,50,350,1); } break; case ALIVE_BALISE: if (strat_etat_s == ATT) { - - lcd.SetTextColor(LCD_COLOR_LIGHTGREEN); - lcd.FillRect(0,600,400,150); //carte AX12 - lcd.SetTextColor(LCD_COLOR_BLACK); - lcd.SetBackColor(LCD_COLOR_LIGHTGREEN); - lcd.DisplayStringAt(110, 650, (uint8_t *)"Balise", LEFT_MODE); + DrawCheck(30,30,50,400,1); } break;