各路大神,谁有用STM32驱动过GT911电容屏,能分享个驱动吗

2019-12-10 18:24发布

各路大神,谁有用STM32驱动过GT911电容屏,能分享个驱动吗
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
3条回答
kyq_linux
2019-12-11 03:16
。。。
我不知道怎么回复了。。   已经搞定了。。  过两天上传一下代码。
stmf429+emwin532的demo   

源码是在正点原子的demo上改的   



GT911 触摸屏配置表   240*320
const u8 GT911_CFG_TBL[]=
{
  0x00,0xF0,0x00,0x40,0x01,0x0A,0x05,0x00,0x01,0x08,
  0x28,0x05,0x50,0x32,0x03,0x05,0x00,0x00,0x00,0x00,
  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x86,0x26,0x09,
  0x17,0x15,0x31,0x0D,0x00,0x00,0x01,0x9B,0x04,0x1C,
  0x00,0x00,0x00,0x00,0x00,0x03,0x64,0x32,0x00,0x00,
  0x00,0x00,0x00,0x00,0x40,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,0x00,0x00,
  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  0x00,0x00,0x12,0x10,0x0E,0x0C,0x0A,0x08,0x06,0x04,
  0x02,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  0xFF,0xFF,0x22,0x21,0x20,0x1F,0x1E,0x1D,0x0A,0x08,  
  0x06,0x04,0x02,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
  0xFF,0xFF,0xFF,0xFF,0x4A,0x01
};测试下 还行。

一周热门 更多>