这个程序不能循环左移。查不出问题 - 爱问答

(爱问答)

这个程序不能循环左移。查不出问题

 

#include<reg52.h>
#include <intrins.h>
#define uint unsigned int
#define uchar unsigned char
void  delayms(uint);

 void deyams(uint ms)
 {
   uint i,j;
   for(i=ms;i>0;i--)
   {
    for(j=110;j>0;j--);
 }
}
void main()
{
 uchar aa=0xfe;
  while(1)
  {
  P1=aa;
  delayms(500);
  aa=_crol_(aa, 1);
  }
}

你的delayms/deyams拼错了,两个不同的名字


程序中没有任何左移代码。

下一篇:warningC4013:“findname”未定义;假设外部返回int

上一篇:Linux怎样设置禁止用户访问某个php页面

热门标签:
excel 网盘 破解 word dll
最新更新:
微软重新评估新的Outlook的使用时机 联想推出搭载联发科Helio G80芯片组的Tab M9平板 英特尔创新大赛时间确定! 微软Edge浏览器在稳定渠道中推出Workspaces功能 英伟达RTX4060TiGPU推出MaxSun动漫主题! 谷歌地图为用户提供了街景服务! GameSir 在T4 Kaleid中推出了一款出色的控制器! 微软开始在Windows 11 中测试其画图应用程序的新深色模式! LG电子推出全球首款无线OLED电视 英伟达人工智能芯片崭露头角! Steam Deck可以玩什么游戏-Steam Deck价格限时优惠 雷蛇推出CobraPro鼠标 Kindle电子阅读器可以访问谷歌商店吗 Windows10如何加入组策略 window10图片查看器怎么没有了?