用C语言在keil的AT89S52中编程,有一点问题,谁能帮我指出
#defineucharunsignedchar#defineuintunsignedint#include<reg52.h>voidDelayX1ms(uintcoun...
#define uchar unsigned char
#define uint unsigned int
#include <reg52.h>
void DelayX1ms(uint count)
{
uint j;
while(count--!=0)
{
for(j=0;j<80;j++);
}
}
void main(void)
{
P3=0x55;
DelayX1ms(1000)
P3=0xAA
DelayX1ms(1000)
while(1);
} 展开
#define uint unsigned int
#include <reg52.h>
void DelayX1ms(uint count)
{
uint j;
while(count--!=0)
{
for(j=0;j<80;j++);
}
}
void main(void)
{
P3=0x55;
DelayX1ms(1000)
P3=0xAA
DelayX1ms(1000)
while(1);
} 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询