Tsinghua Icenter ChenHuan

Dependencies:   mbed

Committer:
heroistired
Date:
Thu Mar 16 13:07:14 2017 +0000
Revision:
0:9b8df4f9b792
DongGanPingTai

Who changed what in which revision?

UserRevisionLine numberNew contents of line
heroistired 0:9b8df4f9b792 1 /***************************************************************
heroistired 0:9b8df4f9b792 2 功能 : mbed的ILI9340液晶显示芯片的驱动程序与图形库的字体库
heroistired 0:9b8df4f9b792 3 作者 : 陈欢 清华大学电机工程与应用电子技术系
heroistired 0:9b8df4f9b792 4 邮箱 : h-che14@mails.tsinghua.edu.cn OR heroistired@gmail.com
heroistired 0:9b8df4f9b792 5 声明 :
heroistired 0:9b8df4f9b792 6 本程序移植自 https://developer.mbed.org/users/dextorslabs/code/ILI9340_Driver/
heroistired 0:9b8df4f9b792 7 在原有基础上做了改进与丰富,本程序仅供学习与交流使用,如需他用,须联系作者
heroistired 0:9b8df4f9b792 8 All rights reserved
heroistired 0:9b8df4f9b792 9 2017.1.30
heroistired 0:9b8df4f9b792 10 ***************************************************************/
heroistired 0:9b8df4f9b792 11
heroistired 0:9b8df4f9b792 12 const unsigned char simpleFont[][8] =
heroistired 0:9b8df4f9b792 13 {
heroistired 0:9b8df4f9b792 14 {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 15 {0x00,0x00,0x5F,0x00,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 16 {0x00,0x00,0x07,0x00,0x07,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 17 {0x00,0x14,0x7F,0x14,0x7F,0x14,0x00,0x00},
heroistired 0:9b8df4f9b792 18 {0x00,0x24,0x2A,0x7F,0x2A,0x12,0x00,0x00},
heroistired 0:9b8df4f9b792 19 {0x00,0x23,0x13,0x08,0x64,0x62,0x00,0x00},
heroistired 0:9b8df4f9b792 20 {0x00,0x36,0x49,0x55,0x22,0x50,0x00,0x00},
heroistired 0:9b8df4f9b792 21 {0x00,0x00,0x05,0x03,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 22 {0x00,0x1C,0x22,0x41,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 23 {0x00,0x41,0x22,0x1C,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 24 {0x00,0x08,0x2A,0x1C,0x2A,0x08,0x00,0x00},
heroistired 0:9b8df4f9b792 25 {0x00,0x08,0x08,0x3E,0x08,0x08,0x00,0x00},
heroistired 0:9b8df4f9b792 26 {0x00,0xA0,0x60,0x00,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 27 {0x00,0x08,0x08,0x08,0x08,0x08,0x00,0x00},
heroistired 0:9b8df4f9b792 28 {0x00,0x60,0x60,0x00,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 29 {0x00,0x20,0x10,0x08,0x04,0x02,0x00,0x00},
heroistired 0:9b8df4f9b792 30 {0x00,0x3E,0x51,0x49,0x45,0x3E,0x00,0x00},
heroistired 0:9b8df4f9b792 31 {0x00,0x00,0x42,0x7F,0x40,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 32 {0x00,0x62,0x51,0x49,0x49,0x46,0x00,0x00},
heroistired 0:9b8df4f9b792 33 {0x00,0x22,0x41,0x49,0x49,0x36,0x00,0x00},
heroistired 0:9b8df4f9b792 34 {0x00,0x18,0x14,0x12,0x7F,0x10,0x00,0x00},
heroistired 0:9b8df4f9b792 35 {0x00,0x27,0x45,0x45,0x45,0x39,0x00,0x00},
heroistired 0:9b8df4f9b792 36 {0x00,0x3C,0x4A,0x49,0x49,0x30,0x00,0x00},
heroistired 0:9b8df4f9b792 37 {0x00,0x01,0x71,0x09,0x05,0x03,0x00,0x00},
heroistired 0:9b8df4f9b792 38 {0x00,0x36,0x49,0x49,0x49,0x36,0x00,0x00},
heroistired 0:9b8df4f9b792 39 {0x00,0x06,0x49,0x49,0x29,0x1E,0x00,0x00},
heroistired 0:9b8df4f9b792 40 {0x00,0x00,0x36,0x36,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 41 {0x00,0x00,0xAC,0x6C,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 42 {0x00,0x08,0x14,0x22,0x41,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 43 {0x00,0x14,0x14,0x14,0x14,0x14,0x00,0x00},
heroistired 0:9b8df4f9b792 44 {0x00,0x41,0x22,0x14,0x08,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 45 {0x00,0x02,0x01,0x51,0x09,0x06,0x00,0x00},
heroistired 0:9b8df4f9b792 46 {0x00,0x32,0x49,0x79,0x41,0x3E,0x00,0x00},
heroistired 0:9b8df4f9b792 47 {0x00,0x7E,0x09,0x09,0x09,0x7E,0x00,0x00},
heroistired 0:9b8df4f9b792 48 {0x00,0x7F,0x49,0x49,0x49,0x36,0x00,0x00},
heroistired 0:9b8df4f9b792 49 {0x00,0x3E,0x41,0x41,0x41,0x22,0x00,0x00},
heroistired 0:9b8df4f9b792 50 {0x00,0x7F,0x41,0x41,0x22,0x1C,0x00,0x00},
heroistired 0:9b8df4f9b792 51 {0x00,0x7F,0x49,0x49,0x49,0x41,0x00,0x00},
heroistired 0:9b8df4f9b792 52 {0x00,0x7F,0x09,0x09,0x09,0x01,0x00,0x00},
heroistired 0:9b8df4f9b792 53 {0x00,0x3E,0x41,0x41,0x51,0x72,0x00,0x00},
heroistired 0:9b8df4f9b792 54 {0x00,0x7F,0x08,0x08,0x08,0x7F,0x00,0x00},
heroistired 0:9b8df4f9b792 55 {0x00,0x41,0x7F,0x41,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 56 {0x00,0x20,0x40,0x41,0x3F,0x01,0x00,0x00},
heroistired 0:9b8df4f9b792 57 {0x00,0x7F,0x08,0x14,0x22,0x41,0x00,0x00},
heroistired 0:9b8df4f9b792 58 {0x00,0x7F,0x40,0x40,0x40,0x40,0x00,0x00},
heroistired 0:9b8df4f9b792 59 {0x00,0x7F,0x02,0x0C,0x02,0x7F,0x00,0x00},
heroistired 0:9b8df4f9b792 60 {0x00,0x7F,0x04,0x08,0x10,0x7F,0x00,0x00},
heroistired 0:9b8df4f9b792 61 {0x00,0x3E,0x41,0x41,0x41,0x3E,0x00,0x00},
heroistired 0:9b8df4f9b792 62 {0x00,0x7F,0x09,0x09,0x09,0x06,0x00,0x00},
heroistired 0:9b8df4f9b792 63 {0x00,0x3E,0x41,0x51,0x21,0x5E,0x00,0x00},
heroistired 0:9b8df4f9b792 64 {0x00,0x7F,0x09,0x19,0x29,0x46,0x00,0x00},
heroistired 0:9b8df4f9b792 65 {0x00,0x26,0x49,0x49,0x49,0x32,0x00,0x00},
heroistired 0:9b8df4f9b792 66 {0x00,0x01,0x01,0x7F,0x01,0x01,0x00,0x00},
heroistired 0:9b8df4f9b792 67 {0x00,0x3F,0x40,0x40,0x40,0x3F,0x00,0x00},
heroistired 0:9b8df4f9b792 68 {0x00,0x1F,0x20,0x40,0x20,0x1F,0x00,0x00},
heroistired 0:9b8df4f9b792 69 {0x00,0x3F,0x40,0x38,0x40,0x3F,0x00,0x00},
heroistired 0:9b8df4f9b792 70 {0x00,0x63,0x14,0x08,0x14,0x63,0x00,0x00},
heroistired 0:9b8df4f9b792 71 {0x00,0x03,0x04,0x78,0x04,0x03,0x00,0x00},
heroistired 0:9b8df4f9b792 72 {0x00,0x61,0x51,0x49,0x45,0x43,0x00,0x00},
heroistired 0:9b8df4f9b792 73 {0x00,0x7F,0x41,0x41,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 74 {0x00,0x02,0x04,0x08,0x10,0x20,0x00,0x00},
heroistired 0:9b8df4f9b792 75 {0x00,0x41,0x41,0x7F,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 76 {0x00,0x04,0x02,0x01,0x02,0x04,0x00,0x00},
heroistired 0:9b8df4f9b792 77 {0x00,0x80,0x80,0x80,0x80,0x80,0x00,0x00},
heroistired 0:9b8df4f9b792 78 {0x00,0x01,0x02,0x04,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 79 {0x00,0x20,0x54,0x54,0x54,0x78,0x00,0x00},
heroistired 0:9b8df4f9b792 80 {0x00,0x7F,0x48,0x44,0x44,0x38,0x00,0x00},
heroistired 0:9b8df4f9b792 81 {0x00,0x38,0x44,0x44,0x28,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 82 {0x00,0x38,0x44,0x44,0x48,0x7F,0x00,0x00},
heroistired 0:9b8df4f9b792 83 {0x00,0x38,0x54,0x54,0x54,0x18,0x00,0x00},
heroistired 0:9b8df4f9b792 84 {0x00,0x08,0x7E,0x09,0x02,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 85 {0x00,0x18,0xA4,0xA4,0xA4,0x7C,0x00,0x00},
heroistired 0:9b8df4f9b792 86 {0x00,0x7F,0x08,0x04,0x04,0x78,0x00,0x00},
heroistired 0:9b8df4f9b792 87 {0x00,0x00,0x7D,0x00,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 88 {0x00,0x80,0x84,0x7D,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 89 {0x00,0x7F,0x10,0x28,0x44,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 90 {0x00,0x41,0x7F,0x40,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 91 {0x00,0x7C,0x04,0x18,0x04,0x78,0x00,0x00},
heroistired 0:9b8df4f9b792 92 {0x00,0x7C,0x08,0x04,0x7C,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 93 {0x00,0x38,0x44,0x44,0x38,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 94 {0x00,0xFC,0x24,0x24,0x18,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 95 {0x00,0x18,0x24,0x24,0xFC,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 96 {0x00,0x00,0x7C,0x08,0x04,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 97 {0x00,0x48,0x54,0x54,0x24,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 98 {0x00,0x04,0x7F,0x44,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 99 {0x00,0x3C,0x40,0x40,0x7C,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 100 {0x00,0x1C,0x20,0x40,0x20,0x1C,0x00,0x00},
heroistired 0:9b8df4f9b792 101 {0x00,0x3C,0x40,0x30,0x40,0x3C,0x00,0x00},
heroistired 0:9b8df4f9b792 102 {0x00,0x44,0x28,0x10,0x28,0x44,0x00,0x00},
heroistired 0:9b8df4f9b792 103 {0x00,0x1C,0xA0,0xA0,0x7C,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 104 {0x00,0x44,0x64,0x54,0x4C,0x44,0x00,0x00},
heroistired 0:9b8df4f9b792 105 {0x00,0x08,0x36,0x41,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 106 {0x00,0x00,0x7F,0x00,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 107 {0x00,0x41,0x36,0x08,0x00,0x00,0x00,0x00},
heroistired 0:9b8df4f9b792 108 {0x00,0x02,0x01,0x01,0x02,0x01,0x00,0x00},
heroistired 0:9b8df4f9b792 109 {0x00,0x02,0x05,0x05,0x02,0x00,0x00,0x00}
heroistired 0:9b8df4f9b792 110 };