
le test
Dependencies: LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI
Diff: Lettres/Fonctions_Display_Elements.cpp
- Revision:
- 9:19f7cac66f50
- Parent:
- 6:4ef1fabb6c47
- Parent:
- 7:db52e78db1bd
- Child:
- 10:f2cb60383040
--- a/Lettres/Fonctions_Display_Elements.cpp Thu Mar 14 10:59:43 2019 +0000 +++ b/Lettres/Fonctions_Display_Elements.cpp Thu Mar 28 17:27:40 2019 +0000 @@ -1,9 +1,12 @@ #include "Display_Elements.h" -#include "LCD_DISCO_F429ZI.h" LCD_DISCO_F429ZI lcd; +<<<<<<< working copy void Cadrage(){ +======= +void Display_H_1(){ +>>>>>>> merge rev BSP_LCD_SetFont(&Font20); lcd.Clear(LCD_COLOR_BLUE); @@ -61,6 +64,13 @@ void Display_Li_3(){ +<<<<<<< working copy +======= + + BSP_LCD_SetFont(&Font20); + lcd.DisplayStringAt(0, LINE(1), (uint8_t *)"MBED EXAMPLE", CENTER_MODE); + wait(1); +>>>>>>> merge rev BSP_LCD_SetFont(&Font20); lcd.Clear(LCD_COLOR_BLUE); @@ -80,6 +90,13 @@ void Display_Be_4(){ +<<<<<<< working copy +======= + + BSP_LCD_SetFont(&Font20); + lcd.DisplayStringAt(0, LINE(1), (uint8_t *)"MBED EXAMPLE", CENTER_MODE); + wait(1); +>>>>>>> merge rev BSP_LCD_SetFont(&Font20); lcd.Clear(LCD_COLOR_BLUE); @@ -108,6 +125,7 @@ void Display_B_5(){ +<<<<<<< working copy BSP_LCD_SetFont(&Font20); lcd.Clear(LCD_COLOR_BLUE); @@ -128,6 +146,8 @@ } void Display_O_8(){ +======= +>>>>>>> merge rev BSP_LCD_SetFont(&Font20); lcd.Clear(LCD_COLOR_BLUE); @@ -137,8 +157,49 @@ lcd.SetTextColor(LCD_COLOR_BLUE); lcd.FillCircle(100, 100, 70); wait(1); +<<<<<<< working copy lcd.Clear(LCD_COLOR_BLUE); wait(0.000001); +======= + + while(1) { + lcd.Clear(LCD_COLOR_BLUE); + lcd.SetBackColor(LCD_COLOR_BLUE); + lcd.SetTextColor(LCD_COLOR_WHITE); + int X4 = 50; + int Y4 = 50; + int pixel = 15; + lcd.FillRect(X4,Y4,7*pixel,pixel); + lcd.FillRect(X4,Y4+pixel,pixel,3*pixel); + lcd.FillRect(X4+3*pixel,Y4+pixel,pixel,3*pixel); + lcd.FillRect(X4+6*pixel,Y4+pixel,pixel,3*pixel); + lcd.FillRect(X4+pixel,Y4+4*pixel,2*pixel,pixel); + lcd.FillRect(X4+4*pixel,Y4+4*pixel,2*pixel,pixel); + wait(1); + lcd.Clear(LCD_COLOR_BLUE); + wait(0.000001); + } +} + +void Display_O_8(){ + + BSP_LCD_SetFont(&Font20); + lcd.DisplayStringAt(0, LINE(1), (uint8_t *)"MBED EXAMPLE", CENTER_MODE); + wait(1); + + while(1) { + /*O*/ + lcd.Clear(LCD_COLOR_BLUE); + lcd.SetBackColor(LCD_COLOR_BLUE); + lcd.SetTextColor(LCD_COLOR_WHITE); + lcd.FillCircle(100, 100, 80); + lcd.SetTextColor(LCD_COLOR_BLUE); + lcd.FillCircle(100, 100, 70); + wait(1); + lcd.Clear(LCD_COLOR_BLUE); + wait(0.000001); + } +>>>>>>> merge rev } @@ -163,6 +224,13 @@ void Display_N_7(){ +<<<<<<< working copy +======= + + BSP_LCD_SetFont(&Font20); + lcd.DisplayStringAt(0, LINE(1), (uint8_t *)"MBED EXAMPLE", CENTER_MODE); + wait(1); +>>>>>>> merge rev BSP_LCD_SetFont(&Font20); lcd.Clear(LCD_COLOR_BLUE); @@ -182,6 +250,13 @@ } void Display_F_9(){ +<<<<<<< working copy +======= + + BSP_LCD_SetFont(&Font20); + lcd.DisplayStringAt(0, LINE(1), (uint8_t *)"MBED EXAMPLE", CENTER_MODE); + wait(1); +>>>>>>> merge rev BSP_LCD_SetFont(&Font20); lcd.Clear(LCD_COLOR_BLUE);