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
LCD_F469/LCD_F469.cpp@0:e06404fdff2f, 2017-10-11 (annotated)
- Committer:
- Faberge
- Date:
- Wed Oct 11 22:26:45 2017 +0000
- Revision:
- 0:e06404fdff2f
Demo to control 4 LEDs
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Faberge | 0:e06404fdff2f | 1 | /* |
Faberge | 0:e06404fdff2f | 2 | * LCD_F469.cpp |
Faberge | 0:e06404fdff2f | 3 | * |
Faberge | 0:e06404fdff2f | 4 | * Copyright 2017 Faberge@TsarTeam |
Faberge | 0:e06404fdff2f | 5 | * |
Faberge | 0:e06404fdff2f | 6 | * This program is free software; you can redistribute it and/or modify |
Faberge | 0:e06404fdff2f | 7 | * it under the terms of the GNU General Public License as published by |
Faberge | 0:e06404fdff2f | 8 | * the Free Software Foundation; either version 2 of the License, or |
Faberge | 0:e06404fdff2f | 9 | * (at your option) any later version. |
Faberge | 0:e06404fdff2f | 10 | * |
Faberge | 0:e06404fdff2f | 11 | * This program is distributed in the hope that it will be useful, |
Faberge | 0:e06404fdff2f | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
Faberge | 0:e06404fdff2f | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
Faberge | 0:e06404fdff2f | 14 | * GNU General Public License for more details. |
Faberge | 0:e06404fdff2f | 15 | * |
Faberge | 0:e06404fdff2f | 16 | */ |
Faberge | 0:e06404fdff2f | 17 | |
Faberge | 0:e06404fdff2f | 18 | #include "LCD_F469.h" |
Faberge | 0:e06404fdff2f | 19 | |
Faberge | 0:e06404fdff2f | 20 | Display :: Display() |
Faberge | 0:e06404fdff2f | 21 | { |
Faberge | 0:e06404fdff2f | 22 | BSP_LCD_Init(); |
Faberge | 0:e06404fdff2f | 23 | BSP_LCD_InitEx(LCD_ORIENTATION_LANDSCAPE); |
Faberge | 0:e06404fdff2f | 24 | BSP_LCD_LayerDefaultInit(LTDC_ACTIVE_LAYER_BACKGROUND, LCD_FB_START_ADDRESS); |
Faberge | 0:e06404fdff2f | 25 | BSP_LCD_Clear(LCD_COLOR_BLACK); |
Faberge | 0:e06404fdff2f | 26 | } |