页面加载中,请稍候
来源:wuq发布时间:2019-05-28
询问 AI#include
#define uchar unsigned char
#define uint unsigned int
sbit cs=P3^0;
sbit wr=P3^1;
void delayms(uint x)
{
uint y,z;
for(y=x;y>0;y--)
for(z=110;z>0;z--);
}
void main()
{
uchar temp;
cs=0;
wr=0;
while(1)
{
P2=temp;
delayms(25);
temp++;
}
}
新闻来源:wuq,文中所述为作者独立观点,不代表icspec立场。更多精彩资讯请下载icspec App。如对本稿件有异议,请联系微信客服specltkj。
暂无评论哦,快来评论一下吧!
2026-06-15
2026-07-22

2026-06-16