资源描述:
《msp430实现12864ad采集温度并显示》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、#include#include"character.h"#include"12864.h"externucharxian[]={/*--文字:现--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16--*/0x04,0x84,0x84,0xFC,0x84,0x84,0x00,0xFE,0x02,0x02,0xF2,0x02,0x02,0xFE,0x00,0x00,0x20,0x60,0x20,0x1F,0x10,0x90,0x40,0x23,0x18,0x06,0x0
2、1,0x7E,0x80,0x83,0xE0,0x00};externucharzai[]={/*--文字:在--*//*--楷体_GB231211;此字体下对应的点阵为:宽x高=15x15--*//*--宽度不是8的倍数,现调整为:宽度x高度=16x15--*/0x08,0x08,0x88,0xC8,0x38,0x0C,0x0B,0x08,0x08,0xE8,0x08,0x08,0x08,0x08,0x08,0x00,0x02,0x01,0x00,0xFF,0x40,0x41,0x41,0x41,0x41,0x
3、7F,0x41,0x41,0x41,0x41,0x40,0x00};externucharwen[]={/*--文字:温--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16--*/0x10,0x60,0x02,0x8C,0x00,0x00,0xFE,0x92,0x92,0x92,0x92,0x92,0xFE,0x00,0x00,0x00,0x04,0x04,0x7E,0x01,0x40,0x7E,0x42,0x42,0x7E,0x42,0x7E,0x42,0x42,0x7E,0x40,0x00};
4、externuchardu[]={/*--文字:度--*//*--宋体12;此字体下对应的点阵为:宽x高=16x16--*/0x00,0x00,0xFC,0x24,0x24,0x24,0xFC,0x25,0x26,0x24,0xFC,0x24,0x24,0x24,0x04,0x00,0x40,0x30,0x8F,0x80,0x84,0x4C,0x55,0x25,0x25,0x25,0x55,0x4C,0x80,0x80,0x80,0x00};externuchardu1[]={0x06,0x09,0x09,0x
5、E6,0xF8,0x0C,0x04,0x02,0x02,0x02,0x02,0x02,0x04,0x1E,0x00,0x00,0x00,0x00,0x00,0x07,0x1F,0x30,0x20,0x40,0x40,0x40,0x40,0x40,0x20,0x10,0x00,0x00};externucharmao_hao[]={/*--文字::(冒号)--*//*--宋体12;此字体下对应的点阵为:宽x高=8x16--*/0x00,0x00,0x00,0xC0,0xC0,0x00,0x00,0x00,0x00
6、,0x00,0x00,0x30,0x30,0x00,0x00,0x00};externucharnum0[]={/*--文字:0--*//*--宋体12;此字体下对应的点阵为:宽x高=8x16--*/0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00};externucharnum1[]={/*--文字:1--*//*--宋体12;此字体下对应的点阵为:宽x高=8x16--*/0x00,0x10,0x10
7、,0xF8,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00};externucharnum2[]={/*--文字:2--*//*--宋体12;此字体下对应的点阵为:宽x高=8x16--*/0x00,0x70,0x08,0x08,0x08,0x88,0x70,0x00,0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00};externucharnum3[]={/*--文字:3--*//*--宋体12;此字体下对应的
8、点阵为:宽x高=8x16--*/0x00,0x30,0x08,0x88,0x88,0x48,0x30,0x00,0x00,0x18,0x20,0x20,0x20,0x11,0x0E,0x00};externucharnum4[]={/*--文字:4--*//*--宋体12;此字体下对应的点阵为:宽x高=8x16--*/0x00,0x00,0xC0,0x20,0x10,0xF8,0x00