6*12ASCII纵向取模数组

如题

一般在LCD12864上使用的ASCII尺寸都是8*16,但是这样只能写4行,如果要写5行的话,就需要将字模取小一些。修改了字模大小之后,相应的写LCD驱动也需要作一些更改。

// ------------------  ASCII字模的数据表 ------------------------ //
// -------------------------------------------------------------- //
unsigned char code nAscII612[] =              // ASCII
{
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // - -

	0x00,0x00,0x00,0x3E,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00, // -!-

	0x00,0x0E,0x02,0x00,0x0E,0x02,0x00,0x00,0x00,0x00,0x00,0x00, // -"-

	0x00,0x50,0xF8,0x56,0xF8,0x56,0x00,0x03,0x00,0x03,0x00,0x00, // -#-

	0x00,0xD8,0xA4,0xA6,0x64,0x00,0x00,0x00,0x00,0x03,0x00,0x00, // -$-

	0x00,0x24,0x2A,0xA4,0x50,0x90,0x00,0x00,0x00,0x00,0x01,0x00, // -%-

	0x00,0xC0,0x30,0x48,0x88,0x40,0x00,0x00,0x01,0x01,0x00,0x01, // -&-

	0x00,0x00,0x00,0x1E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // -'-

	0x00,0x00,0x00,0xF8,0x06,0x00,0x00,0x00,0x00,0x01,0x06,0x00, // -(-

	0x00,0x00,0x06,0xF8,0x00,0x00,0x00,0x00,0x06,0x01,0x00,0x00, // -)-

	0x00,0x04,0x34,0x0E,0x34,0x04,0x00,0x00,0x00,0x00,0x00,0x00, // -*-

	0x20,0x20,0x20,0xFC,0x20,0x20,0x00,0x00,0x00,0x01,0x00,0x00, // -+-

	0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x06,0x03,0x00,0x00, // -,-

	0x00,0x20,0x20,0x20,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00, // ---

	0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00, // -.-

	0x00,0x00,0x80,0x60,0x18,0x06,0x00,0x02,0x01,0x00,0x00,0x00, // -/-

	0x00,0xFC,0x02,0x02,0x02,0xFC,0x00,0x00,0x01,0x01,0x01,0x00, // -0-

	0x00,0x00,0x02,0xFE,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01, // -1-

	0x00,0x84,0x42,0x22,0x12,0x8C,0x00,0x01,0x01,0x01,0x01,0x01, // -2-

	0x00,0x84,0x02,0x12,0x12,0xEC,0x00,0x00,0x01,0x01,0x01,0x00, // -3-

	0x00,0x60,0x50,0x4C,0x42,0xFE,0x00,0x00,0x00,0x00,0x01,0x01, // -4-

	0x00,0x80,0x1E,0x12,0x12,0xE2,0x00,0x00,0x01,0x01,0x01,0x00, // -5-

	0x00,0xF8,0x14,0x12,0x12,0xE2,0x00,0x00,0x01,0x01,0x01,0x00, // -6-

	0x00,0x06,0x02,0x82,0x72,0x0E,0x00,0x00,0x00,0x01,0x00,0x00, // -7-

	0x00,0xEC,0x12,0x12,0x12,0xEC,0x00,0x00,0x01,0x01,0x01,0x00, // -8-

	0x00,0x1C,0x22,0x22,0xA2,0x7C,0x00,0x01,0x01,0x01,0x00,0x00, // -9-

	0x00,0x00,0x98,0x98,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00, // -:-

	0x00,0x00,0x00,0x98,0x98,0x00,0x00,0x00,0x03,0x01,0x00,0x00, // -;-

	0x20,0x50,0x50,0x88,0x04,0x04,0x00,0x00,0x00,0x00,0x01,0x01, // -<-

	0x00,0x50,0x50,0x50,0x50,0x50,0x00,0x00,0x00,0x00,0x00,0x00, // -=-

	0x04,0x04,0x88,0x50,0x50,0x20,0x01,0x01,0x00,0x00,0x00,0x00, // ->-

	0x00,0x00,0x08,0x44,0x24,0x18,0x00,0x00,0x01,0x01,0x00,0x00, // -?-

	0x00,0xFE,0x01,0x31,0x49,0x7E,0x00,0x01,0x02,0x02,0x02,0x01, // -@-

	0x00,0xC0,0x7A,0x46,0x78,0xC0,0x01,0x01,0x01,0x00,0x01,0x01, // -A-

	0x02,0xFE,0x12,0x12,0x12,0xEC,0x01,0x01,0x01,0x01,0x01,0x00, // -B-

	0x00,0xFC,0x02,0x02,0x02,0x86,0x00,0x00,0x01,0x01,0x01,0x00, // -C-

	0x02,0xFE,0x02,0x02,0x84,0x78,0x01,0x01,0x01,0x01,0x00,0x00, // -D-

	0x02,0xFE,0x12,0x3A,0x02,0x86,0x01,0x01,0x01,0x01,0x01,0x01, // -E-

	0x00,0x02,0xFE,0x12,0x3A,0x02,0x00,0x01,0x01,0x01,0x00,0x00, // -F-

	0x00,0xFC,0x02,0x02,0x22,0xE6,0x00,0x00,0x01,0x01,0x01,0x00, // -G-

	0x02,0xFE,0x12,0x10,0x12,0xFE,0x01,0x01,0x01,0x00,0x01,0x01, // -H-

	0x00,0x02,0x02,0xFE,0x02,0x02,0x00,0x01,0x01,0x01,0x01,0x01, // -I-

	0x00,0xE0,0x02,0x02,0xFE,0x02,0x00,0x00,0x01,0x01,0x00,0x00, // -J-

	0x02,0xFE,0x22,0x30,0x4A,0x86,0x01,0x01,0x01,0x00,0x00,0x01, // -K-

	0x00,0x02,0xFE,0x02,0x00,0xC0,0x00,0x01,0x01,0x01,0x01,0x01, // -L-

	0x02,0xFE,0x0E,0x30,0x0E,0xFE,0x01,0x01,0x01,0x00,0x01,0x01, // -M-

	0x02,0xFE,0x0E,0x70,0x82,0xFE,0x01,0x01,0x01,0x00,0x01,0x01, // -N-

	0x00,0xFC,0x02,0x02,0x02,0xFC,0x00,0x00,0x01,0x01,0x01,0x00, // -O-

	0x00,0x02,0xFE,0x22,0x22,0x1C,0x00,0x01,0x01,0x01,0x00,0x00, // -P-

	0x00,0xFC,0x02,0x02,0x02,0xFC,0x00,0x00,0x01,0x03,0x03,0x02, // -Q-

	0x02,0xFE,0x22,0x22,0x62,0x9C,0x01,0x01,0x01,0x00,0x00,0x00, // -R-

	0x00,0x8C,0x92,0x12,0x14,0xE6,0x00,0x01,0x00,0x01,0x01,0x00, // -S-

	0x06,0x02,0x02,0xFE,0x02,0x02,0x00,0x00,0x01,0x01,0x01,0x00, // -T-

	0x02,0xFE,0x02,0x00,0x02,0xFE,0x00,0x00,0x01,0x01,0x01,0x00, // -U-

	0x02,0x0E,0x72,0x80,0x72,0x0E,0x00,0x00,0x00,0x01,0x00,0x00, // -V-

	0x02,0xFE,0x02,0xF0,0x02,0xFE,0x00,0x00,0x01,0x00,0x01,0x00, // -W-

	0x02,0x86,0x48,0x30,0x48,0x86,0x01,0x01,0x00,0x00,0x00,0x01, // -X-

	0x02,0x06,0x1A,0xE0,0x1A,0x06,0x00,0x00,0x01,0x01,0x01,0x00, // -Y-

	0x00,0x86,0x42,0x32,0x0A,0x86,0x00,0x01,0x01,0x01,0x01,0x01, // -Z-

	0x00,0x00,0xFE,0x02,0x02,0x00,0x00,0x00,0x07,0x04,0x04,0x00, // -[-

	0x00,0x02,0x1C,0x60,0x80,0x00,0x00,0x00,0x00,0x00,0x03,0x00, // -\-

	0x00,0x00,0x02,0x02,0xFE,0x00,0x00,0x00,0x04,0x04,0x07,0x00, // -]-

	0x00,0x10,0x08,0x06,0x08,0x10,0x00,0x00,0x00,0x00,0x00,0x00, // -^-

	0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x08,0x08,0x08,0x08, // -_-

	0x00,0x00,0x00,0x02,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // -`-

	0x00,0xD0,0x28,0x28,0x28,0xF0,0x00,0x00,0x01,0x01,0x01,0x01, // -a-

	0x02,0xFE,0x10,0x08,0x08,0xF0,0x01,0x01,0x01,0x01,0x01,0x00, // -b-

	0x00,0xF0,0x08,0x08,0x08,0x98,0x00,0x00,0x01,0x01,0x01,0x00, // -c-

	0x00,0xF0,0x08,0x08,0x12,0xFE,0x00,0x00,0x01,0x01,0x01,0x01, // -d-

	0x00,0xF0,0x28,0x28,0x28,0x30,0x00,0x00,0x01,0x01,0x01,0x01, // -e-

	0x00,0x08,0xFC,0x0A,0x0A,0x0A,0x00,0x01,0x01,0x01,0x01,0x01, // -f-

	0x00,0xF0,0x08,0x08,0x10,0xF8,0x00,0x00,0x05,0x05,0x05,0x03, // -g-

	0x02,0xFE,0x10,0x08,0x08,0xF0,0x01,0x01,0x01,0x00,0x01,0x01, // -h-

	0x00,0x08,0x08,0xFA,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01, // -i-

	0x00,0x08,0x08,0x0A,0xF8,0x00,0x00,0x04,0x04,0x04,0x03,0x00, // -j-

	0x02,0xFE,0x20,0x68,0x98,0x08,0x01,0x01,0x00,0x01,0x01,0x01, // -k-

	0x00,0x00,0x02,0xFE,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01, // -l-

	0x08,0xF8,0x08,0xF0,0x08,0xF0,0x01,0x01,0x01,0x01,0x01,0x01, // -m-

	0x08,0xF8,0x10,0x08,0x08,0xF0,0x01,0x01,0x01,0x00,0x01,0x01, // -n-

	0x00,0xF0,0x08,0x08,0x08,0xF0,0x00,0x00,0x01,0x01,0x01,0x00, // -o-

	0x08,0xF8,0x10,0x08,0x08,0xF0,0x04,0x07,0x05,0x01,0x01,0x00, // -p-

	0x00,0xF0,0x08,0x08,0x10,0xF8,0x00,0x00,0x01,0x01,0x05,0x07, // -q-

	0x00,0x08,0xF8,0x10,0x08,0x08,0x00,0x01,0x01,0x01,0x01,0x01, // -r-

	0x00,0x90,0x28,0x28,0x28,0xD8,0x00,0x01,0x01,0x01,0x01,0x00, // -s-

	0x00,0x08,0xFC,0x08,0x08,0x08,0x00,0x00,0x00,0x01,0x01,0x01, // -t-

	0x08,0xF8,0x00,0x00,0x88,0xF8,0x00,0x00,0x01,0x01,0x00,0x01, // -u-

	0x08,0x38,0xC8,0x00,0xC8,0x38,0x00,0x00,0x00,0x01,0x00,0x00, // -v-

	0x08,0xF8,0x08,0xE0,0x08,0xF8,0x00,0x00,0x01,0x00,0x01,0x00, // -w-

	0x08,0x98,0x60,0x60,0x98,0x08,0x01,0x01,0x00,0x00,0x01,0x01, // -x-

	0x08,0x18,0x68,0x80,0xC8,0x38,0x00,0x04,0x04,0x07,0x04,0x00, // -y-

	0x00,0x98,0x48,0x28,0x18,0x88,0x00,0x01,0x01,0x01,0x01,0x01, // -z-

	0x00,0x00,0x40,0xBC,0x02,0x00,0x00,0x00,0x00,0x03,0x04,0x00, // -{-

	0x00,0x00,0x00,0xFE,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00, // -|-

	0x00,0x00,0x02,0xBC,0x40,0x00,0x00,0x00,0x04,0x03,0x00,0x00, // -}-

	0x00,0x40,0x20,0x40,0x40,0x20,0x00,0x00,0x00,0x00,0x00,0x00, // -~-

	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // --
};
上一篇:#WEB安全基础 : HTTP协议 | 0x12 MIME多用途邮件扩展以及多部分对象集合


下一篇:swagger2组件化