声明之后还有 warning C206: 'Display1': missing function-prototype

日期:2022-04-01 00:58:22 人气:1

声明之后还有 warning C206: 'Display1': missing function-prototype

#include"at89x51.h"
void main()
{
P2=0x01;
for(;;)
{
P2=P2<<1;
if(!P2) P2=0x01;
delay(60000);
}
}
怎么编译错误?
    A+
热门评论