SPKT

Dependencies:   BSP-DISCO_F746NG LCD_DISCO_F746NG

Files at this revision

API Documentation at this revision

Comitter:
nhancap98
Date:
Mon Jun 10 11:33:27 2019 +0000
Commit message:
SPKT

Changed in this revision

BSP-DISCO_F746NG.lib Show annotated file Show diff for this revision Revisions of this file
LCD_DISCO_F746NG.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 8315d4f31e68 BSP-DISCO_F746NG.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BSP-DISCO_F746NG.lib	Mon Jun 10 11:33:27 2019 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/nhancap98/code/BSP-DISCO_F746NG/#862f171dda3c
diff -r 000000000000 -r 8315d4f31e68 LCD_DISCO_F746NG.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LCD_DISCO_F746NG.lib	Mon Jun 10 11:33:27 2019 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/nhancap98/code/LCD_DISCO_F746NG/#cf10ae4cedd3
diff -r 000000000000 -r 8315d4f31e68 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Jun 10 11:33:27 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); 
+    }
+}