a

Dependencies:   LCD_DISCO_F746NG BSP_DISCO_F746NG

Revision:
0:b46e98221a5e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Jun 10 07:55:22 2019 +0000
@@ -0,0 +1,21 @@
+#include "mbed.h"
+#include "LCD_DISCO_F746NG.h"
+#include "stdio.h"
+LCD_DISCO_F746NG lcd;
+
+int main()
+{       
+    lcd.DisplayStringAt(0, LINE(1), (uint8_t *)"NHOM 7", CENTER_MODE);//xuất ra màn hình "nhom 7"
+    wait(1);
+  
+    while(1)
+    {
+      lcd.Clear(LCD_COLOR_BLUE); 
+      lcd.SetBackColor(LCD_COLOR_BLUE); //set màu nền
+      lcd.SetTextColor(LCD_COLOR_WHITE); // set màu chữ
+      wait(0.3); 
+      lcd.DisplayStringAt(0, LINE(5), (uint8_t *)"Hien Thi LCD", CENTER_MODE); //  hiển thị "Hien Thi LCD"
+     lcd.DisplayStringAt(0, LINE(6),(uint8_t*)"16119", CENTER_MODE); // hiển thị "16119"
+      wait(1); 
+    }
+}