#include<reg51.h> #include<intrins.h> #define uchar unsigned char #define uint unaigned int void de
#include<reg51.h>#include<intrins.h>#defineucharunsignedchar#defineuintunaignedintvoi...
#include<reg51.h>
#include<intrins.h>
#define uchar unsigned char
#define uint unaigned int
void delay(void)
{
uchar a,b;
for(a=0;b<200;a++)
for(b=0;b<200;b++);
}
void main()
{
uchar k;
k=0xfe;
while(1)
{
P1=k;
delay();
k=_crol_(k,1);
}
}流水灯不亮为什么? 展开
#include<intrins.h>
#define uchar unsigned char
#define uint unaigned int
void delay(void)
{
uchar a,b;
for(a=0;b<200;a++)
for(b=0;b<200;b++);
}
void main()
{
uchar k;
k=0xfe;
while(1)
{
P1=k;
delay();
k=_crol_(k,1);
}
}流水灯不亮为什么? 展开
1个回答
2010-11-05
展开全部
将#define uint unaigned int
改成#define uint unsigned int
试试
改成#define uint unsigned int
试试
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询