GrowNode
|
Macros | |
#define | GN_DS18B20_MAX_SENSORS 4 |
Functions | |
gn_leaf_descriptor_handle_t | gn_ds18b20_config (gn_leaf_handle_t leaf_config) |
Variables | |
static const char | GN_LEAF_DS18B20_TYPE [] = "ds18b20" |
static const int32_t | MIN_UPDATE_TIME_SEC = 3 |
static const int32_t | MAX_UPDATE_TIME_SEC = 3600 |
static const char | GN_DS18B20_PARAM_ACTIVE [] = "active" |
static const char | GN_DS18B20_PARAM_UPDATE_TIME_SEC [16] = "upd_time_sec" |
static const char | GN_DS18B20_PARAM_GPIO [5] = "gpio" |
static const char | GN_DS18B20_PARAM_SENSOR_NAMES [GN_DS18B20_MAX_SENSORS][6] |
#define GN_DS18B20_MAX_SENSORS 4 |
gn_leaf_descriptor_handle_t gn_ds18b20_config | ( | gn_leaf_handle_t | leaf_config | ) |
|
static |
whether the sensor is running
|
static |
GPIO connected to the temp sensor
|
static |
|
static |
seconds between sensor sampling
|
static |
|
static |
|
static |