1. 首页
  2. 编程语言
  3. C
  4. lcd1602汉字显示

lcd1602汉字显示

上传者: 2019-06-01 09:50:52上传 DOC文件 325KB 热度 54次
1602汉字显示,如有需要可以下载#include#defineucharunsignedchar#defineuintunsignedintsbitlcdrs=P1^0;sbitlcden=P1^2;sbitlcdwr=P1^1;ucharCGCODE[]={0x08,0x0F,0x12,0x0F,0x0A,0x1F,0x02,0x02,//"年"代码0x000x0F,0x09,0x0F,0x09,0x0F,0x09,0x13,0x00,//"月"代码0x010x0F,0x09,0x09,0x0F,0x09,0x09,0x0F,0x0
用户评论