Gitakichi Tokyo / Mbed 2 deprecated ATM0177B3A

Dependencies:   mbed

Revision:
9:58f6248ef377
Parent:
8:761e71533bff
--- a/main.cpp	Sat Jan 02 10:36:18 2021 +0000
+++ b/main.cpp	Tue Jan 05 07:10:40 2021 +0000
@@ -42,11 +42,42 @@
     //lcdWriteData_monoburst((bool*)shehuizhuyi,20480);
     //wait(5);
     
+    lcdClearDisplay(decodeRgbValue(31, 31, 10));
+    
+    uint16_t chr_fu[]={
+        0x0100,0x0100,0x7ffe,0x4002,0x5ffa,0x0000,0x0ff0,0x0810,0x0ff0,0x0000,0x1ff8,0x1108,0x1ff8,0x1108,0x1ff8,0x0000};
+    uint16_t chr_qiang[]={
+        0x0000,0x7CF8,0x0488,0x0488,0x04F8,0x3C20,0x21FC,0x2124,0x3D24,0x0524,0x05FC,0x0520,0x0422,0x043E,0x0BC1,0x3001};
+    uint16_t chr_min[]={
+        0x0000,0x1ffc,0x1004,0x1004,0x1004,0x1ffc,0x1080,0x1080,0x1fff,0x1040,0x1040,0x1020,0x1020,0x1312,0x1c0a,0x6006};
+    uint16_t chr_zhu[]={
+        0x0100,0x0080,0x0080,0x3ffe,0x0080,0x0080,0x0080,0x0080,0x1ffc,0x0080,0x0080,0x0080,0x0080,0x0080,0x7fff,0x0000};
+    uint16_t chr_wen[]={
+        0x0100,0x0600,0x3c7e,0x0442,0x0442,0x0442,0x7fc2,0x0c42,0x0e42,0x1542,0x14c2,0x2442,0x447e,0x0400,0x0400,0x0400};
+    uint16_t chr_ming[]={
+        0x0108,0x2109,0x11EA,0x090C,0x0109,0x7169,0x1187,0x1010,0x1020,0x11FE,0x1102,0x11FE,0x1502,0x1902,0x31FE,0x0102};
+    uint16_t chr_he[]={
+        0x0080,0x0080,0x0080,0x7fff,0x0410,0x0410,0x0410,0x0220,0x0220,0x0140,0x0080,0x0080,0x0140,0x0220,0x0c18,0x7007};
+    uint16_t chr_xie[]={
+        0x0000,0x3e7e,0x2242,0x2242,0x2242,0x227e,0x3e42,0x2242,0x2242,0x227e,0x2242,0x3e42,0x0082,0x0082,0x0102,0x0206};
+
+    
+    lcdPutCh_16(chr_fu,0, 0, decodeRgbValue(31, 0, 0), decodeRgbValue(31, 31, 10));
+    lcdPutCh_16(chr_qiang,32, 0, decodeRgbValue(31, 0, 0), decodeRgbValue(31, 31, 10));
+    lcdPutCh_16(chr_min,64, 0, decodeRgbValue(31, 0, 0), decodeRgbValue(31, 31, 10));
+    lcdPutCh_16(chr_zhu,96, 0, decodeRgbValue(31, 0, 0), decodeRgbValue(31, 31, 10));
+    
+    lcdPutCh_16(chr_wen,0, 32, decodeRgbValue(31, 0, 0), decodeRgbValue(31, 31, 10));
+    lcdPutCh_16(chr_ming,32, 32, decodeRgbValue(31, 0, 0), decodeRgbValue(31, 31, 10));
+    lcdPutCh_16(chr_he,64, 32, decodeRgbValue(31, 0, 0), decodeRgbValue(31, 31, 10));
+    lcdPutCh_16(chr_xie,96, 32, decodeRgbValue(31, 0, 0), decodeRgbValue(31, 31, 10));
+    wait(2);
+    
     grade();
-    wait(5);
+    wait(2);
     
     colorbar();
-    wait(5);
+    wait(10);
     
     lcdClearDisplay(decodeRgbValue(0, 0, 0));