Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
#include <Adafruit_Sensor.h>
Public Attributes | |
char | name [12] |
int32_t | version |
int32_t | sensor_id |
int32_t | type |
float | max_value |
float | min_value |
float | resolution |
int32_t | min_delay |
struct sensor_s is used to describe basic information about a specific sensor.
float sensor_t::max_value |
maximum value of this sensor's value in SI units
int32_t sensor_t::min_delay |
min delay in microseconds between events. zero = not a constant rate
float sensor_t::min_value |
minimum value of this sensor's value in SI units
char sensor_t::name[12] |
sensor name
float sensor_t::resolution |
smallest difference between two values reported by this sensor
int32_t sensor_t::sensor_id |
unique sensor identifier
int32_t sensor_t::type |
this sensor's type (ex. SENSOR_TYPE_LIGHT)
int32_t sensor_t::version |
version of the hardware + driver