Library modifiée pour mettre l'écran en portrait
Fork of LCD_DISCO_F469NI by
Revision 1:f62d40b0771e, committed 2017-05-22
- Comitter:
- SquirrelGod
- Date:
- Mon May 22 08:52:01 2017 +0000
- Parent:
- 0:d38374480318
- Commit message:
- Code de l'?cran tactile du petit robot en position portrait.; Avec d?part au jack.
Changed in this revision
LCD_DISCO_F469NI.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d38374480318 -r f62d40b0771e LCD_DISCO_F469NI.cpp --- a/LCD_DISCO_F469NI.cpp Fri Dec 18 07:31:48 2015 +0000 +++ b/LCD_DISCO_F469NI.cpp Mon May 22 08:52:01 2017 +0000 @@ -22,9 +22,9 @@ LCD_DISCO_F469NI::LCD_DISCO_F469NI() { BSP_LCD_Init(); - BSP_LCD_InitEx(LCD_ORIENTATION_LANDSCAPE); + BSP_LCD_InitEx(LCD_ORIENTATION_PORTRAIT); BSP_LCD_LayerDefaultInit(LTDC_ACTIVE_LAYER_BACKGROUND, LCD_FB_START_ADDRESS); - BSP_LCD_SetFont(&Font20); + BSP_LCD_SetFont(&Font24); BSP_LCD_Clear(LCD_COLOR_WHITE); }