最近在研究正点原子的4.3寸电容触摸屏,驱动芯片是gt9147,修改了一下配置参数保存到了驱动芯片的flash中,结果发现竖屏的y轴坐标反了,即触摸屏幕左上角,得出的坐标为左下角,而且上下方有30个像素点的空白区触摸不到,估计是例程给的配置参数(那184个字节的数组)中的驱动通道没配置对,尝试调了几次也没法成功将触摸的位置与坐标对应上,希望有好心人能从工作正常的gt9147芯片中读出正确的配置参数然后发给我,也希望大家能给点解决方案,谢谢大家了。
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
{
0x62,0xe0,0x01,0x20,0x03,0x05,0x34,0xc0,0x01,0x08,
0x28,0x0f,0x50,0x32,0x03,0x05,0x00,0x00,0x00,0x00,
0x00,0x00,0x06,0x16,0x16,0x1f,0x14,0x89,0x28,0x0a,
0x17,0x15,0x31,0x0d,0x00,0x00,0x08,0x22,0x04,0x11,
0x00,0x00,0x00,0x00,0x00,0x03,0x82,0x08,0x08,0x00,
0x00,0x0f,0x2c,0x94,0xc5,0x02,0x07,0x00,0x00,0x04,
0x9d,0x10,0x00,0x84,0x14,0x00,0x70,0x19,0x00,0x5f,
0x20,0x00,0x55,0x27,0x00,0x54,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x1a,0x18,0x16,0x14,0x12,0x10,0x0e,0x0c,
0x0a,0x08,0x00,0x00,0x00,0x00,0x1f,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0x00,0x00,0x02,0x04,0x05,0x06,0x08,0x0a,0x0c,
0x0e,0x1d,0x1e,0x1f,0x20,0x22,0x24,0x28,0x29,0xff,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf6,
0xff,0xff,0xff,0xff,
}
再次谢谢大家的帮忙
一周热门 更多>