Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F469NI mbed
Diff: LCD_F469/LCD_F469.cpp
- Revision:
- 0:e06404fdff2f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCD_F469/LCD_F469.cpp Wed Oct 11 22:26:45 2017 +0000 @@ -0,0 +1,26 @@ +/* + * LCD_F469.cpp + * + * Copyright 2017 Faberge@TsarTeam + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#include "LCD_F469.h" + +Display :: Display() +{ + BSP_LCD_Init(); + BSP_LCD_InitEx(LCD_ORIENTATION_LANDSCAPE); + BSP_LCD_LayerDefaultInit(LTDC_ACTIVE_LAYER_BACKGROUND, LCD_FB_START_ADDRESS); + BSP_LCD_Clear(LCD_COLOR_BLACK); +}