如下程序能实现ms级的比较精确的延时:voidDelayms(unsignedintn){unsignedinti,j;for(j=n;j>0;j–)for(i=112;i>0;i–)
delay延时函数voiddelayms(uintxms)(毫秒单位){uinti,j;for(i=xms;i>0;i–)for(j=110;j>0;j–)}单片机外部中
includeconfighdefineHC595_CS(17)defineNixieTube_CS(111)voidDelayMS(uint32dly){uint32i;for(;dly>0;
一、C51程序在晶振为11.0592的情况下,如下程序能实现ms级的比较精确的延时:1voidDelayms(unsignedintn)2{3unsignedint…
在线咨询:
邮箱: kf@86ic.com