ESP8266 Centre + NB
宏定义 | 变量
include/room_info.h 文件参考
#include "driver/uart.h"
#include "ets_sys.h"
#include "osapi.h"
#include "user_interface.h"
include/room_info.h 的引用(Include)关系图:

浏览源代码.

宏定义

#define ROOM_ONE_IP   101
 
#define ROOM_TWO_IP   102
 
#define ROOM_THREE_IP   103
 
#define ROOM_FOUR_IP   104
 
#define ROOM_ONE_NO   0x01
 
#define ROOM_TWO_NO   0x02
 
#define ROOM_THREE_NO   0x03
 
#define ROOM_FOUR_NO   0x04
 
#define DEVICE_1   0x01
 
#define DEVICE_2   0x02
 
#define DEVICE_3   0x03
 
#define DEVICE_4   0x04
 
#define DEVICE_LIGHT_1   0x01
 
#define DEVICE_LIGHT_2   0x02
 

变量

int device
 
int command
 
uint8 room
 
uint8 people
 
uint8 temp
 
uint8 humi
 
uint8 noise
 

宏定义说明

#define ROOM_ONE_IP   101
#define ROOM_TWO_IP   102
#define ROOM_THREE_IP   103
#define ROOM_FOUR_IP   104
#define ROOM_ONE_NO   0x01
#define ROOM_TWO_NO   0x02
#define ROOM_THREE_NO   0x03
#define ROOM_FOUR_NO   0x04
#define DEVICE_1   0x01
#define DEVICE_2   0x02
#define DEVICE_3   0x03
#define DEVICE_4   0x04
#define DEVICE_LIGHT_1   0x01
#define DEVICE_LIGHT_2   0x02

变量说明

int device
int command
uint8 room
uint8 people
uint8 temp
uint8 humi
uint8 noise