当前LCM的主流接口有并口和串口。并口引脚多,产生串扰,串口则没有诸如此类的缺点。SPI作为串口家族的一员,具有高速同步、芯片管脚少和信号稳定不产生串扰等优点,越来越受到开发人员的青睐。但是,具有SPI的LCM并不是毫无缺点的,市场上以COG(chip on glass)方式封装的LCM大都是基于单工方式传输的,这将给开发带来了非常大的麻烦。本文主要论述基于单工SPI的GUI开发方案,详细地分析了基于单工SPI的GUI的开发开台,论述并分析在GUI开发过程中遇到的问题,最后提出增加虚拟LCD的方案解决这个问题。
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.000941s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.078442s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000886s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001196s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000969s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003221s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001156s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003776s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.014792s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001243s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 368364 [ RunTime:0.012507s ]