FSLCD驅(qū)動器RA8860的應(yīng)用
6 RA8860 可以顯示8色及16色。
16色的色彩更加豐富,可以顯示的內(nèi)容更加全面。
7 RA8860 的主程式
主程序 :
//================== Main Process Start ==================//
void main(void)
{ unsigned char i;
P0 = 0xff;
P1 = 0xff;
P2 = 0xff;
P3 = 0xff;
LCD_Reset(); // Reset RA8860
LCD_Initial(); // Initial RA8860
LCD_On(); // Display on
Address_Point(0x00);
Memory_Write();
for(i=0; i=79; i++)
{
LCD_DataWrite(0x00); //(C0,S0~S79)(C1,S0~S79): White
}
Address_Point(0x00);
Memory_Write();
LCD_DataWrite(0x90); //(C0,S1): Aqua,(C0,S0): White
Address_Point(0x04);
Memory_Write();
LCD_DataWrite(0x01); //(C0,S9): White,(C0,S8): Yellow
Address_Point(0x40);
Memory_Write();
LCD_DataWrite(0x03); //(C1,S1): White,(C1,S0): Red
Address_Point(0x45);
Memory_Write();
LCD_DataWrite(0x20); //(C1,S11): Pink,(C1,S10): White
Address_Point(0x47);
Memory_Write();
LCD_DataWrite(0x02); //(C1,S15): White,(C1,S14): Pink
Address_Point(0x48);
Memory_Write();
LCD_DataWrite(0x0E); //(C1,S17): White,(C1,S16): Navy Blue
Address_Point(0x4D);
Memory_Write();
LCD_DataWrite(0x02); //(C1,S27): White,(C1,S26): Pink
Address_Point(0x4E);
Memory_Write();
LCD_DataWrite(0x20); //(C1,S29): Pink,(C1,S28): White
Blink_Speed(0x04); // Blinking Interval : ~850ms
Blink_ Address(0x90); //(C1,S16)
Blink_On(); // Blinking On
while(1);
}
6 結(jié)語
瑞佑開發(fā)FSLCD這款驅(qū)動器,具有高質(zhì)量彩色顯示、超寬視角、高亮度、低能耗、低成本,低開發(fā)等特點,可廣泛用于空調(diào)、冰箱、洗衣機、微波爐、電磁爐、電飯煲、洗碗機、消毒柜、游戲機、儀器儀表等產(chǎn)品,也可以用于機場、車站、銀行、證券交易所、醫(yī)院、學(xué)校等公共場合的大型顯示設(shè)施。
評論