|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
#include "reg52.h"
#include "DHT11.h"
#include "DELAY.h"
#include "LCD.h"
uchar table[]={"0123456789"};
int main(void)
{
LCDInitiate();
display(uchar addr,uchar q);
while(1)
{
receive();
display(0x00,'R');
display(0x01,':');
display(0x02,'table[RH/10]');
display(0x03,'table[RH%10]');
display(0x04,'%');
display(0x40,'T');
display(0x41,':');
display(0x42,'table[TH/10]');
display(0x43,'table[TH%10]');
display(0x44,'C');
display(0x07,'R');
display(0x08,':');
display(0x09,'table[T1/10]');
display(0x0a,'table[T1%10]');
display(0x0b,'%');
display(0x47,'T');
display(0x48,':');
display(0x49,'table[T2/10]');
display(0x4b,'c');
}
}
大神们,我的各个头文件都是正确的,但是一调用里面的函数,就出现这个问题
compiling main.c...
main.c(8): warning C206: 'LCDInitiate': missing function-prototype
main.c(9): error C141: syntax error near 'unsigned'
main.c - 1 Error(s), 1 Warning(s).
求帮助啊 |
|