关于单片机LED二进制加法 2020年9月18日 14:23 阅读(354) includereg52h>voidTIMED(unsignedintx);main(){unsignedintclac=0xff;while(1){P0=clac;clac–;TIMED(3 #include void TIMED(unsigned int x );main(){unsigned int clac = 0xff;while(1){P0 = clac;clac–;TIMED(300); }} void TIMED( unsigned int x){unsigned int y,i;for(i = x; i > 0; i–)for(y = 110; y > 0; y–);} 声明:本文内容来自网络转载或用户投稿,文章版权归原作者和原出处所有。文中观点,不代表本站立场。若有侵权请联系本站删除(kf@86ic.com)https://www.86ic.net/qiche/259565.html 标签:amp gt includereg52h unsignedintx voidTIMED