单片机程序出现这个错误mj.c(74): error C129: missing ';' before 'coutime0int'
#include<reg52.h>sbitBEEP=P3^7;externucharaentim;externuintcoutime0int;externucharcou...
#include<reg52.h>
sbit BEEP=P3^7;
extern uchar aentim;
extern uint coutime0int;
extern uchar coutime0int22;
extern uchar moxi;
extern void savedata(uchar tim[]);
extern uchar time_data[8];
void warn()
{
uint ul;
uchar n;
for(ul=0;ul<1000;ul++)
{
for(n=0;n<40;n++);
BEEP=~BEEP; 展开
sbit BEEP=P3^7;
extern uchar aentim;
extern uint coutime0int;
extern uchar coutime0int22;
extern uchar moxi;
extern void savedata(uchar tim[]);
extern uchar time_data[8];
void warn()
{
uint ul;
uchar n;
for(ul=0;ul<1000;ul++)
{
for(n=0;n<40;n++);
BEEP=~BEEP; 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询