标题: 求1602液晶程序初始注释。。。。谢谢 [打印本页]

作者: 51.C    时间: 2014-12-1 09:36
标题: 求1602液晶程序初始注释。。。。谢谢
void chushi1602()
{
zhiling(0x38);
delayms(1);
zhiling(0x08);
delayms(1);
zhiling(0x01);
delayms(1);
zhiling(0x06);
delayms(1);
zhiling(0x0c);
}
作者: 竹影荷衣    时间: 2014-12-20 20:47
指令 延时
作者: 若尘1    时间: 2014-12-22 17:32
本帖最后由 若尘1 于 2014-12-22 17:34 编辑

初始化实质是对于lcd1602进行显示模式,开关 光标等进行设置。eg:zhiling(0x38)指设置16x2显示,5x7点阵。8为数据接口。
作者: blj178    时间: 2014-12-24 15:24





欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1