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

2019-12-10 18:24发布

各路大神,谁有用STM32驱动过GT911电容屏,能分享个驱动吗
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
3条回答
gentlerain
1楼-- · 2019-12-10 20:02
 精彩回答 2  元偷偷看……
elsonx
2楼-- · 2019-12-11 00:06
gentlerain 发表于 2019-7-30 19:24
楼主对电容屏有误解。电容屏只是说触摸是电容的,跟屏的点亮没有关系,还得看屏的接口。 ...

我看是你对楼主的表达有误解吧
kyq_linux
3楼-- · 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
};测试下 还行。

一周热门 更多>