unsigned char DC_ICO[] = //"电池"图标
{
0x00,0x7E,0x43,0x41,0x43,0x7E
};
unsigned char LOCK_ICO[] = //"锁"图标
{
0x00,0x7C,0x47,0x5D,0x47,0x7C
};
unsigned char MUSIC_ICO[] = //乐符
{
0x00,0x30,0x70,0x3F,0x01,0x02
};
unsigned char CARD_ICO[] = //SD卡
{
0x00,0x7C,0x7A,0x7F,0x7B,0x7F
};
unsigned char LING_ICO[] = //铃铛
{
0x24,0x0C,0x1A,0x3D,0x0F,0x06
};
unsigned char TX_ICO[] = //天线
{
0x00,0x03,0x05,0x7F,0x05,0x03
};
unsigned char CLOCK_ICO[] = //闹钟(8字节)
{
0x00,0x1C,0x22,0x41,0x4F,0x49,0x2A,0x1C
};
unsigned char UP_FX[] = //上箭头
{
0x04,0x06,0x7F,0x7F,0x06,0x04
};
unsigned char DOWN_FX[] = //下箭头
{
0x10,0x30,0x7F,0x7F,0x30,0x10
};
unsigned char DUAL_FX[] = //上下箭头
{
0x14,0x36,0x7F,0x7F,0x36,0x14
};
unsigned char L_FX[] = //左箭头
{
0x00,0x18,0x3C,0x7E,0x18,0x18
};
unsigned char R_FX[] = //右箭头
{
0x00,0x18,0x18,0x7E,0x3C,0x18
};
unsigned char TX_POWER[] = //功率线
{
0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00, //0 没有信号
0x00,0x60,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00, //1 1个信号
0x00,0x60,0x00,0x70,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00, //2
0x00,0x60,0x00,0x70,0x00,0x78,
0x00,0x00,0x00,0x00,0x00,0x00, //3
0x00,0x60,0x00,0x70,0x00,0x78,
0x00,0x7C,0x00,0x00,0x00,0x00, //4
0x00,0x60,0x00,0x70,0x00,0x78,
0x00,0x7C,0x00,0x7E,0x00,0x00, //5 5个信号
0x00,0x60,0x00,0x70,0x00,0x78,
0x00,0x7C,0x00,0x7E,0x00,0x7F //6 全信号
};
void LCD_write_DCICO(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(DC_ICO, 1);
}
void LCD_write_LOCKICO(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(LOCK_ICO, 1);
}
void LCD_write_TXICO(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(TX_ICO, 1);
}
void LCD_write_CARDICO(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(CARD_ICO, 1);
}
void LCD_write_UPFX(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(UP_FX, 1);
}
void LCD_write_DOWNFX(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(DOWN_FX, 1);
}
void LCD_write_DUALFX(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(DUAL_FX, 1);
}
void LCD_write_LFX(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(L_FX, 1);
}
void LCD_write_RFX(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(R_FX, 1);
}
void LCD_write_MUSICICO(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(MUSIC_ICO, 1);
}
void LCD_write_LINGICO(void)
{
unsigned char i;
for (i = 0; i < 6; i++)
LCD_write_byte(LING_ICO, 1);
}
void LCD_write_CLOCKICO(void)
{
unsigned char i;
for (i = 0; i < 8; i++)
LCD_write_byte(CLOCK_ICO, 1);
}
void LCD_TX_POWER(unsigned char X)
{
unsigned char i,k;
k=X*12; //计算偏移量
for (i = 0; i < 12; i++)
{
LCD_write_byte(TX_POWER[k],1);
k++;
}
} |