PACMAN_part_3_0

Dependencies:   mbed LCD_DISCO_F469NI TS_DISCO_F469NI BSP_DISCO_F469NI

Committer:
fab2sn
Date:
Fri Dec 20 15:57:48 2019 +0000
Revision:
4:02222711571e
Parent:
3:7c9276127150
Child:
5:f656bf0571b9
base (fixed)

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 0:8515b04f8da2 10 lcd.Clear(LCD_COLOR_BLACK);
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 }