|
#include <AT89X52.h> #include <intrins.h> #define uint unsigned int #define uchar unsigned char #include"1602.h" #include<dh11.h> uchar temp[] ="RH_SET:00% \0"; //設(shè)置 的濕度值顯示 uchar temp_s[] ="RH:00% TEMP:00 \0"; //實(shí)時(shí)濕度顯示 sbit sw3=P1^5; //按鍵定義 sbit sw1=P1^3; sbit sw2=P1^4; sbit baojing=P3^3; .... error: 'temp':can't initialize,bad type or class error:'temp':not in formal parameter list error: 'temp_s':can't initialize,bad type or class error:'temp_s':not in formal parameter list error:syntax error near 'sbit'
請(qǐng)教一下,這些錯(cuò)誤怎么改過(guò)來(lái)
|