求大神们看看下面的程序错误和警告是为什么啊啊啊????
void write_date(uchar date)
{
rs=1;
lcden=0;
P0=date;
delay(5);
lcden=1;
delay(5);
lcden=0;
}
void writeString(uchar * str, uchar length)
{
uchar i;
for(i = 0; i < length; i++)
{
write_data(str
);
}
}
SW.C(64): warning C206: 'write_data': missing function-prototype
SW.C(64): error C267: 'write_data': requires ANSI-style prototype
Target not created
可以啊。如果能帮到你最好了。
一周热门 更多>