PACMAN_part_3_0

Dependencies:   mbed LCD_DISCO_F469NI TS_DISCO_F469NI BSP_DISCO_F469NI

Committer:
fab2sn
Date:
Thu Jan 02 10:39:14 2020 +0000
Revision:
5:f656bf0571b9
Parent:
4:02222711571e
Red background

Who changed what in which revision?

UserRevisionLine numberNew contents of line
fab2sn 3:7c9276127150 1 /* Comprendre les parametres de FillRect(). Trouver la taille de l'ecran */
fab2sn 0:8515b04f8da2 2 #include "mbed.h"
fab2sn 0:8515b04f8da2 3 #include "LCD_DISCO_F469NI.h"
fab2sn 0:8515b04f8da2 4
fab2sn 0:8515b04f8da2 5 LCD_DISCO_F469NI lcd;
fab2sn 0:8515b04f8da2 6
fab2sn 0:8515b04f8da2 7 int main()
fab2sn 3:7c9276127150 8 {
fab2sn 0:8515b04f8da2 9 /* Efface ecran */
fab2sn 5:f656bf0571b9 10 lcd.Clear(LCD_COLOR_RED);
fab2sn 0:8515b04f8da2 11
fab2sn 3:7c9276127150 12 /* Rectangle */
fab2sn 3:7c9276127150 13 lcd.SetTextColor(LCD_COLOR_BLUE);
fab2sn 4:02222711571e 14 lcd.FillRect(10, 20, 300, 100);
fab2sn 0:8515b04f8da2 15 }