TFT液晶屏C51控制
//LCD_Write_REG(0x0001); LCD_Write_DA
LCD_Write_REG(0x0001); LCD_Write_DA
LCD_Write_REG(0x0002); LCD_Write_DA
//LCD_Write_REG(0x0003); LCD_Write_DA
LCD_Write_REG(0x0003); LCD_Write_DA
LCD_Write_REG(0x0004); LCD_Write_DA
LCD_Write_REG(0x0008); LCD_Write_DA
LCD_Write_REG(0x0009); LCD_Write_DA
LCD_Write_REG(0x000A); LCD_Write_DA
LCD_Write_REG(0x000C); LCD_Write_DA
LCD_Write_REG(0x000D); LCD_Write_DA
LCD_Write_REG(0x000F); LCD_Write_DA
//*************Power On sequence ****************//
//LCD_Write_REG(0x0010); LCD_Write_DA
LCD_Write_REG(0x0010); LCD_Write_DA
LCD_Write_REG(0x0011); LCD_Write_DA
LCD_Write_REG(0x0012); LCD_Write_DA
LCD_Write_REG(0x0013); LCD_Write_DA
LCD_Write_REG(0x0007); LCD_Write_DA
delayms(200); // Dis-charge capacitor power voltage
//LCD_Write_REG(0x0010); LCD_Write_DA
LCD_Write_REG(0x0010); LCD_Write_DA
LCD_Write_REG(0x0011); LCD_Write_DA
delayms(50); // Delay 50ms
LCD_Write_REG(0x0012); LCD_Write_DA
delayms(50); // Delay 50ms
//LCD_Write_REG(0x0013); LCD_Write_DA
LCD_Write_REG(0x0013); LCD_Write_DA
//LCD_Write_REG(0x0029); LCD_Write_DA
//LCD_Write_REG(0x002B); LCD_Write_DA
LCD_Write_REG(0x0029); LCD_Write_DA
LCD_Write_REG(0x002B); LCD_Write_DA
delayms(50); // Delay 50ms
LCD_Write_REG(0x0020); LCD_Write_DA
//LCD_Write_REG(0x0021); LCD_Write_DA
LCD_Write_REG(0x0021); LCD_Write_DA
// ----------- Adjust the Gamma Curve ----------//
LCD_Write_REG(0x0030); LCD_Write_DA
LCD_Write_REG(0x0031); LCD_Write_DA
//LCD_Write_REG(0x0032); LCD_Write_DA
LCD_Write_REG(0x0032); LCD_Write_DA
//LCD_Write_REG(0x0035); LCD_Write_DA
LCD_Write_REG(0x0035); LCD_Write_DA
LCD_Write_REG(0x0036); LCD_Write_DA
LCD_Write_REG(0x0037); LCD_Write_DA
//LCD_Write_REG(0x0038); LCD_Write_DA
//LCD_Write_REG(0x0039); LCD_Write_DA
//LCD_Write_REG(0x003C); LCD_Write_DA
//LCD_Write_REG(0x003D); LCD_Write_DA
LCD_Write_REG(0x0038); LCD_Write_DA
LCD_Write_REG(0x0039); LCD_Write_DA
LCD_Write_REG(0x003C); LCD_Write_DA
LCD_Write_REG(0x003D); LCD_Write_DA
TFT液晶屏C51控 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)