每一行刷到 第240个像素点时就自动换到第二行了,设置也对
WriteComm(0x36); // Memory Access Control
WriteData(0xE8); //横屏 240*320
WriteComm(0x2B); //Row Address Set 240行
WriteData(0x00);
WriteData(0x00);
WriteData(0x00);
WriteData(0xEF);
WriteComm(0x2A); //Column Address Set 320列
WriteData(0x00);
WriteData(0x00);
WriteData(0x01);
WriteData(0x3F);
WriteComm(0x3A); // 16 pixel
WriteData(0x55);
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
我传的代码里都互换了啊,0x2B寄存器行变为240,0x2A寄存器列变为了320
一周热门 更多>