PACMAN_part_3_0

Dependencies:   mbed LCD_DISCO_F469NI TS_DISCO_F469NI BSP_DISCO_F469NI

main.cpp

Committer:
fab2sn
Date:
2020-01-02
Revision:
5:f656bf0571b9
Parent:
4:02222711571e

File content as of revision 5:f656bf0571b9:

/* Comprendre les parametres de FillRect(). Trouver la taille de l'ecran */
#include "mbed.h"
#include "LCD_DISCO_F469NI.h"

LCD_DISCO_F469NI lcd;

int main()
{ 
    /* Efface ecran */
    lcd.Clear(LCD_COLOR_RED);
    
    /* Rectangle */
    lcd.SetTextColor(LCD_COLOR_BLUE);
    lcd.FillRect(10, 20, 300, 100);
}