字库头文件- #ifndef __ZK_H__
- #define __ZK_H__
- #define uchar unsigned char
- #define uint unsigned int
- /*128x32图片-------------------------------------------------------------
- unsigned char code bmp12832[]={
- 0x00,0x00,0x03,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x0F,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x3F,0xFF,0xFF,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x01,0xF0,0xFF,0xF8,0xFE,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x08,0x00,0x00,
- 0x00,0x07,0xFF,0x00,0x07,0xBF,0x80,0x00,0x00,0x00,0x00,0x04,0x03,0x7D,0x80,0x00,
- 0x00,0x0F,0xFF,0xC0,0x7F,0xFF,0xE0,0x00,0x10,0x00,0x03,0xCD,0x80,0xA3,0xC0,0x00,
- 0x00,0x3F,0xFF,0xF1,0xFF,0xFF,0xE0,0x00,0x18,0x00,0x02,0x6F,0xC0,0x22,0x40,0x00,
- 0x00,0x3F,0xFF,0xF1,0xFF,0xFF,0xE0,0x00,0x1C,0x00,0x00,0x58,0x42,0x22,0x40,0x00,
- 0x00,0x7F,0x87,0xF1,0xFC,0x0F,0xF8,0x00,0x23,0xFC,0x03,0x50,0x83,0xA2,0x40,0x00,
- 0x00,0x7E,0x03,0xC1,0xF8,0x07,0xFC,0x00,0x20,0x38,0x01,0x42,0x01,0xA2,0x40,0x00,
- 0x00,0x78,0x00,0x00,0x00,0x00,0x7C,0x00,0x60,0xC0,0x00,0x86,0x01,0xEA,0xC0,0x00,
- 0x00,0xC0,0x00,0x00,0x00,0x00,0x7F,0x01,0x83,0x00,0x01,0xC6,0x01,0x3F,0x80,0x00,
- 0x00,0xC0,0x00,0x00,0x00,0x00,0x7F,0x06,0x04,0x00,0x01,0x2F,0x01,0x02,0x00,0x00,
- 0x00,0xC0,0x00,0x00,0x00,0x00,0x78,0xC8,0x18,0x00,0x02,0x19,0x01,0x02,0x00,0x00,
- 0x00,0xC0,0x1F,0xC1,0xFF,0xFE,0x00,0x38,0x10,0x00,0x00,0x10,0x81,0xE1,0xC0,0x00,
- 0x00,0xC0,0x1F,0xC1,0xFF,0xFE,0x00,0x38,0x10,0x00,0x00,0x10,0x00,0x3F,0x00,0x00,
- 0x03,0x07,0xE0,0x00,0x00,0x00,0x00,0x08,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x04,0x00,0x00,0x00,0x00,0x00,0x03,0x88,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x18,0x00,0x00,0x00,0x00,0x00,0x01,0x8F,0x80,0x02,0x00,0x03,0x00,0x00,0x00,0x00,
- 0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x80,0xC2,0x01,0xFF,0x80,0x00,0x00,0x00,
- 0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x39,0x81,0x9F,0xC1,0x98,0x80,0x00,0x00,0x00,
- 0x40,0x00,0x00,0x00,0x00,0x00,0x03,0xC1,0x83,0x82,0x01,0x18,0x80,0x00,0x00,0x00,
- 0x40,0x00,0x00,0x00,0x00,0x01,0xFF,0x02,0x02,0x9F,0xC1,0xFE,0x80,0x00,0x00,0x00,
- 0x40,0x00,0x1C,0x00,0x00,0x01,0xC0,0x06,0x00,0xB2,0x41,0x1A,0x80,0x00,0x00,0x00,
- 0x20,0x00,0x3C,0x00,0x00,0x0E,0x00,0x08,0x00,0xB6,0xC1,0x18,0x8A,0xAA,0x00,0x00,
- 0x18,0x00,0x3C,0x00,0x1F,0xF8,0x00,0x30,0x00,0x9F,0x81,0xF8,0x80,0x00,0x00,0x00,
- 0x04,0x00,0x00,0x0F,0xFC,0x00,0x00,0x40,0x00,0xA4,0x01,0x1E,0x80,0x00,0x00,0x00,
- 0x03,0xFF,0xFF,0xFF,0xE0,0x00,0x00,0x40,0x00,0xBC,0x01,0x18,0x80,0x00,0x00,0x00,
- 0x00,0x30,0x00,0xE0,0x00,0x00,0x00,0x80,0x00,0x8E,0x01,0x18,0x80,0x00,0x00,0x00,
- 0x00,0xC0,0x04,0x00,0x00,0x00,0x03,0x00,0x00,0x8B,0xC1,0x03,0x80,0x00,0x00,0x00,
- 0x03,0x00,0x0C,0x00,0x00,0x00,0x04,0x00,0x00,0x90,0x40,0x00,0x00,0x00,0x00,0x00,
- 0x03,0x00,0x0C,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- };
- */
- /*128x64图片-----------------------------------------------------------------------
- unsigned char code bmp12864[]={
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xFF,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xFF,0xFF,0xFF,0xF0,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x00,0x00,0x00,0x07,0xBB,0xFF,0xFF,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,
- 0x01,0xE0,0x00,0x00,0x00,0x0F,0xD7,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x00,0x00,0x00,
- 0x1F,0xDE,0x00,0x00,0x00,0x3F,0xEF,0xFF,0xFF,0xFF,0xFF,0xF8,0x00,0x00,0x2F,0x20,
- 0x12,0x52,0x00,0x00,0x00,0xFF,0xD7,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x3E,0x78,
- 0x12,0xD2,0x00,0x00,0x03,0xFF,0xBB,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x02,0xC8,
- 0x15,0x6A,0x00,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0x00,0x07,0xFF,0x8E,0x3F,0xF8,
- 0x20,0x00,0x80,0x1F,0xFF,0xFF,0xFC,0x00,0x00,0x0A,0x00,0x3F,0xFF,0x8E,0x02,0xD0,
- 0x1F,0x1F,0x00,0x3F,0xFF,0xFF,0xF1,0xFF,0xF0,0x00,0x0F,0xC3,0xFF,0x8E,0x32,0xF0,
- 0x02,0x08,0x00,0x7F,0xFF,0xFF,0xF0,0x00,0x0F,0x00,0x70,0x03,0xFF,0x0E,0x13,0xC0,
- 0x0C,0x06,0x00,0x7F,0xBB,0xCF,0xE0,0x3F,0xA0,0x00,0x0F,0xF3,0xFB,0x0C,0x26,0x80,
- 0x10,0xA1,0x00,0xFF,0xD7,0x9F,0xC0,0xF7,0xF8,0x00,0x3B,0xCF,0xFB,0x08,0x20,0x80,
- 0x11,0xB1,0x01,0xFF,0xFF,0x33,0x80,0x7F,0x80,0x00,0x3F,0xB3,0xF3,0x18,0x7F,0xEC,
- 0x1E,0xAF,0x01,0xFF,0xD7,0x63,0x80,0x1F,0xC0,0x00,0x07,0xE1,0xF3,0x10,0x01,0xF8,
- 0x00,0xA0,0x03,0xFF,0xBF,0xC3,0x00,0x00,0x00,0x00,0x00,0x03,0xE2,0x00,0x00,0x70,
- 0x00,0xE0,0x03,0xFF,0xFF,0xB7,0x00,0x00,0x00,0x00,0x00,0x01,0xC4,0x00,0x00,0x00,
- 0x00,0x00,0x03,0xFF,0xFF,0x03,0x00,0x00,0x00,0x00,0x00,0x01,0x88,0x00,0x00,0x00,
- 0x00,0x30,0x07,0xFF,0xFF,0x03,0x00,0x00,0x00,0x00,0x40,0x03,0x80,0x00,0x00,0x00,
- 0x00,0x48,0x07,0xFF,0xFF,0x87,0x00,0x00,0x00,0x00,0x40,0x03,0x00,0x00,0x00,0x00,
- 0x1F,0xC8,0x0F,0xFF,0xFF,0xCF,0x00,0x00,0x00,0x00,0x40,0x07,0x00,0x00,0x00,0xC0,
- 0x20,0xC8,0x0F,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x80,0x07,0x00,0x00,0x04,0x60,
- 0x20,0xC8,0x0F,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x05,0x00,0x0F,0x00,0x00,0x1F,0xFC,
- 0x25,0xCF,0x1F,0xFF,0xFF,0xFF,0x80,0x00,0x00,0x00,0x00,0x1E,0x00,0x00,0x19,0xF8,
- 0x26,0x00,0x9F,0xFF,0xFF,0xFF,0x40,0x00,0x18,0x01,0x70,0x2E,0x00,0x00,0x09,0x48,
- 0x26,0x00,0xBF,0xFF,0xFF,0xFF,0x90,0x00,0x07,0xFF,0x80,0x46,0x00,0x00,0x0B,0xF0,
- 0x25,0xCF,0x3F,0xFF,0xFF,0xFF,0x84,0x00,0x00,0xFE,0x00,0x86,0x00,0x00,0x09,0x40,
- 0x20,0xC8,0x3F,0xFF,0xFF,0xFC,0x81,0x80,0x00,0x3C,0x02,0x06,0x00,0x00,0x08,0xC0,
- 0x20,0xC8,0x3F,0xFF,0xFF,0xFC,0xC0,0x70,0x00,0x00,0x0C,0x03,0x00,0x00,0x0F,0xB0,
- 0x1F,0x48,0x3F,0xFF,0xFF,0xEF,0xC0,0x0E,0x00,0x00,0x30,0x01,0x00,0x00,0x07,0x1E,
- 0x00,0x48,0x3F,0xFF,0xFF,0xF7,0x40,0x01,0xC0,0x00,0xC0,0x00,0x80,0x00,0x00,0x0C,
- 0x00,0x48,0x3F,0xFF,0xFF,0xF7,0x20,0x00,0x38,0x01,0x80,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x30,0x1F,0xFF,0xFF,0xEC,0x60,0x00,0x06,0x0F,0xF0,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x1F,0xFF,0xFF,0xE8,0x18,0x00,0x00,0xF3,0x0C,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x1F,0xFF,0xFF,0xF4,0x06,0x00,0x00,0x01,0x06,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x1F,0xFF,0xFF,0xF4,0x01,0x80,0x00,0x01,0x03,0x00,0x00,0x00,0x0F,0xFC,
- 0x00,0x00,0x07,0xFF,0xFF,0xF5,0x00,0x70,0x00,0x01,0x03,0xD0,0x00,0x00,0x0F,0x88,
- 0x00,0x00,0x07,0xFF,0xFF,0xFB,0x00,0x0E,0x7F,0x81,0x03,0x0F,0x80,0x00,0x08,0xF8,
- 0x00,0x00,0x03,0xFF,0xFF,0xCF,0x00,0x00,0x00,0x7A,0x03,0x00,0x78,0x00,0x0F,0xF8,
- 0x00,0x00,0x00,0xFF,0xFC,0x03,0x40,0x00,0x00,0x07,0x03,0xC0,0x07,0x80,0x08,0x88,
- 0x00,0x00,0x00,0x3B,0xFC,0x3F,0x8C,0x00,0x00,0x01,0x86,0xE0,0x00,0x60,0x0F,0xF8,
- 0x00,0x00,0x00,0xC1,0xE3,0x7F,0xF2,0x00,0x00,0x00,0xA7,0xF8,0x00,0x18,0x08,0x88,
- 0x00,0x00,0x03,0x00,0x00,0xFF,0xFC,0x80,0x00,0x00,0xFF,0xFC,0x00,0x0C,0x38,0x88,
- 0x00,0x00,0x0C,0x00,0x00,0x7F,0xFE,0x38,0x00,0x00,0xFF,0xFF,0x00,0x06,0x70,0x80,
- 0x00,0x00,0x30,0x00,0x00,0xFF,0xFF,0x06,0x87,0xAA,0xFF,0xFF,0x80,0x03,0x00,0x00,
- 0x00,0x00,0xC0,0x00,0x00,0xFF,0xFF,0x80,0x00,0x00,0x6F,0xFF,0xC0,0x01,0x80,0x00,
- 0x00,0x01,0x80,0x00,0x00,0xFF,0xFF,0xC0,0x00,0x00,0x6F,0xFF,0xE0,0x00,0x80,0x00,
- 0x00,0x03,0x00,0x00,0x00,0xFF,0xFF,0xC0,0x00,0x00,0x77,0xFF,0xF0,0x00,0xC0,0x00,
- 0x00,0x06,0x00,0x00,0x00,0x7F,0xFF,0xE0,0x00,0x00,0x77,0xFF,0xF8,0x00,0x40,0x00,
- };
- */
- //16x16图标-----------------------------------------------------------------//
- //PCtoLCD2002取模:顺向,逐行式/
- uchar code bmp1616[3][32]={
- /*
- //"℃" tt=0
- {0x00,0x00,0x30,0x00,0x48,0x00,0x49,0xC0,0x33,0xE8,0x06,0x38,0x0C,0x18,0x0C,0x08,
- 0x0C,0x00,0x0C,0x00,0x0C,0x00,0x0C,0x00,0x06,0x08,0x03,0x10,0x01,0xE0,0x00,0x00},
- */
- /*
- //温度计图标
- {0x00,0x00,0x01,0x80,0x02,0x40,0x02,0x40,0x02,0xC0,0x02,0x40,0x02,0xC0,0x02,0x40,
- 0x02,0xC0,0x02,0x40,0x03,0xC0,0x07,0xE0,0x0F,0xF0,0x0F,0xF0,0x07,0xE0,0x03,0xC0},
- */
- //闹钟图标
- {
- 0x00,0x00,0x38,0x1C,0x60,0x06,0x43,0xC2,0x4C,0x32,0x11,0x08,0x11,0x08,0x21,0x04,
- 0x21,0xF4,0x20,0x04,0x10,0x08,0x10,0x08,0x0C,0x30,0x13,0xC8,0x20,0x04,0x00,0x00},
- //无任何图片显示
- {
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
- //喇叭
- {0x00,0x00,0x00,0xC2,0x01,0xC6,0x03,0xCC,0x07,0xD8,0x7F,0xD0,0x7F,0xC0,0x7F,0xDE,
- 0x7F,0xDE,0x7F,0xC0,0x7F,0xD0,0x07,0xD8,0x03,0xCC,0x01,0xC6,0x00,0xC2,0x00,0x00}
- };
- #endif
-
复制代码 |