2019-12-10 18:24发布
gentlerain 发表于 2019-7-30 19:24 楼主对电容屏有误解。电容屏只是说触摸是电容的,跟屏的点亮没有关系,还得看屏的接口。 ...
最多设置5个标签!
我看是你对楼主的表达有误解吧
我不知道怎么回复了。。 已经搞定了。。 过两天上传一下代码。
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
};测试下 还行。
一周热门 更多>