keil里面有一句错误语句 #include#define uchar unsigned char#define uint unsigned intuchar code table[]={0xf9,0xa4,0xb0,0x99,0x92};uint i;void delayms(uint x);void main(){\x05while(1)\x05{\x05for(i=0;i
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/27 19:04:55
keil里面有一句错误语句 #include#define uchar unsigned char#define uint unsigned intuchar code table[]={0xf9,0xa4,0xb0,0x99,0x92};uint i;void delayms(uint x);void main(){\x05while(1)\x05{\x05for(i=0;i
keil里面有一句错误语句
#include
#define uchar unsigned char
#define uint unsigned int
uchar code table[]={0xf9,0xa4,0xb0,0x99,0x92};
uint i;
void delayms(uint x);
void main()
{\x05while(1)
\x05{\x05for(i=0;i
keil里面有一句错误语句 #include#define uchar unsigned char#define uint unsigned intuchar code table[]={0xf9,0xa4,0xb0,0x99,0x92};uint i;void delayms(uint x);void main(){\x05while(1)\x05{\x05for(i=0;i
你原来的程序中,把delayms的函数体定义写在了main函数中,应该把程序改成这样:
#include
#define uchar unsigned char
#define uint unsigned int
uchar code table[]={0xf9,0xa4,0xb0,0x99,0x92};
uint i;
void delayms(uint x);
void main()
{
while(1)
{
for(i=0;i