This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/MCU/MCU_REAL _FINAL/img.h
2022-05-19 21:07:52 +08:00

91 lines
No EOL
2.1 KiB
C

code unsigned char NAME_PAGE0[] =
{
0x10, 0x60, 0x02, 0x0C, 0xC0, 0x04, 0x04, 0x04, 0x04, 0xFC, 0x04, 0x04, 0x04, 0x04, 0x00, 0x00,
0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00,
0x20, 0x24, 0x24, 0xA4, 0xFE, 0x23, 0x22, 0x20, 0x00, 0xF8, 0x08, 0x08, 0x08, 0xF8, 0x00, 0x00,
};
code unsigned char NAME_PAGE1[] =
{
0x04, 0x04, 0x7C, 0x03, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3F, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x10, 0x08, 0x06, 0x01, 0xFF, 0x01, 0x06, 0x00, 0x00, 0x3F, 0x10, 0x10, 0x10, 0x3F, 0x00, 0x00
};
code unsigned NUMBER_PAGE0[]={
/*-- 文字: 2 --*/
0x00,0x70,0x08,0x08,0x08,0x08,0xF0,0x00,
/*-- 文字: 0 --*/
0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,
/*-- 文字: 2 --*/
0x00,0x70,0x08,0x08,0x08,0x08,0xF0,0x00,
/*-- 文字: 0 --*/
0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,
/*-- 文字: 1 --*/
0x00,0x00,0x10,0x10,0xF8,0x00,0x00,0x00,
/*-- 文字: 1 --*/
0x00,0x00,0x10,0x10,0xF8,0x00,0x00,0x00,
/*-- 文字: 4 --*/
0x00,0x00,0x80,0x40,0x30,0xF8,0x00,0x00,
/*-- 文字: 4 --*/
0x00,0x00,0x80,0x40,0x30,0xF8,0x00,0x00,
};
code unsigned NUMBER_PAGE1[]={
0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00,
0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,
0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00,
0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,
0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,
0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,
0x00,0x06,0x05,0x24,0x24,0x3F,0x24,0x24,
0x00,0x06,0x05,0x24,0x24,0x3F,0x24,0x24,
};
code unsigned NUMBER_RPAGE0[]=
{
0x00,0xF0,0x08,0x08,0x08,0x10,0xE0,0x00,
0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,
};
code unsigned NUMBER_RPAGE1[]=
{
0x00,0x01,0x12,0x22,0x22,0x11,0x0F,0x00,
0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,
};
//void writeData(unsigned char d)
//{
// RS = 1;
// RW = 0;
// P1 = d;
//}
//void setCommand(unsigned char d)
//{
// RS = 0;
// RW = 0;
// P1 = d;
//}
//void setPage(unsigned char p)
//{
// setCommand(0xb8 + p);
//}
//void setLine(unsigned char p)
//{
// setCommand(0xc0 + p);
//}
//void setY(unsigned char p)
//{
// setCommand(0x40 + p);
//}