@ -31,16 +31,6 @@ typedef struct
char str[MAX_STRING_LEN];
}IOT_PARAM;
typedef struct{
float airtemp; /* 空气温度*/
float RH; /* 相对湿度*/
float atmos; /* 大气压*/
float windspeed; /* 风速*/
float winddirection; /* 风向*/
float rainfall; /* 雨量*/
float sunshine; /* 日照*/
}Weather;
void GpioControl::setInt(int cmd, int value)
{
int fd = open(GPIO_NODE_MP, O_RDONLY);