打印

LCD的寄存器地址和参数写入的疑问

[复制链接]
309|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
第十代火影|  楼主 | 2019-11-28 09:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
/* ILI9341寄存器地址 */
#define SWRESET         0x01 //Software Reset
#define RDDIDIF         0x04 //Read Display Identification Information
#define RDDST           0x09 //Read Display Status
#define RDDPM           0x0A //Read Display Power Mode
#define RDDMADCTL        0x0B //Read Display MADCTL
#define RDDCOLMOD        0x0C //Read Display Pixel Format
这是寄存器地址是看手册写的吗?

/*  Power control B (CFh) 电力控制 */
        DEBUG_DELAY();
        LCD_ILI9341_CMD(0xCF);
        LCD_ILI9341_Parameter(0x00);
        LCD_ILI9341_Parameter(0x81);
        LCD_ILI9341_Parameter(0x30);
        
        /*  Power on sequence control (EDh)
      电源顺序控制
        */
        DEBUG_DELAY();
        LCD_ILI9341_CMD(0xED);
        LCD_ILI9341_Parameter(0x64);
        LCD_ILI9341_Parameter(0x03);
        LCD_ILI9341_Parameter(0x12);
        LCD_ILI9341_Parameter(0x81);
这些参数的写入是工厂提供的?

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

363

主题

363

帖子

0

粉丝