-
1602液晶下拉电阻
本帖最后由yjd2799于2021-4-3021:23编辑1602液晶第六脚使能脚加下拉电阻,不就一直低电平,怎样进行上升沿。(P1端口上电默认高电平)
2021-04-30 0 -
lcd1602滚动显示
#includetypedefunsignedcharuint8;typedefunsignedintuint16;sbitrs=P2^6;sbitrw=P2^5;sbite=P2^7;uint8a[16]="perchindesigned";uint8b[27]="welcometotheworldofmcu";voiddelay(uint16i)//1us{while(i--);}voidwrc(uint8c){delay(1000);rs=0;rw=0;e=0;P0=c;e=1;delay(10);e=0;/*P0=c
2021-01-30 1