PACMAN_part1
Dependencies: mbed LCD_DISCO_F469NI TS_DISCO_F469NI BSP_DISCO_F469NI
Revision 4:7ae28771002a, committed 2020-01-02
- Comitter:
- fab2sn
- Date:
- Thu Jan 02 10:33:06 2020 +0000
- Parent:
- 3:5eadfae07f74
- Commit message:
- Add DisplayOff
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5eadfae07f74 -r 7ae28771002a main.cpp --- a/main.cpp Fri Dec 20 15:51:09 2019 +0000 +++ b/main.cpp Thu Jan 02 10:33:06 2020 +0000 @@ -2,6 +2,7 @@ #include "LCD_DISCO_F469NI.h" #include "TS_DISCO_F469NI.h" +LCD_DISCO_F469NI lcd; DigitalOut led1(LED1); DigitalOut led2(LED2); DigitalOut led3(LED3); @@ -10,6 +11,9 @@ int main() { + /* Eteint l'ecran */ + lcd.DisplayOff(); + /* Allume ou eteint les LED */ led1 = 1; led2 = 1;