Adafruit Library
Public Attributes | List of all members
sensor_t Struct Reference

#include <Adafruit_CPlay_Sensor.h>

Public Attributes

char name [12]
 sensor name */
int32_t version
 version of the hardware + driver */
int32_t sensor_id
 unique sensor identifier */
int32_t type
 this sensor's type (ex. SENSOR_TYPE_LIGHT) */
float max_value
 maximum value of this sensor's value in SI units */
float min_value
 minimum value of this sensor's value in SI units */
float resolution
 smallest difference between two values reported by this sensor */
int32_t min_delay
 min delay in microseconds between events. zero = not a constant rate */

Detailed Description

struct sensor_s is used to describe basic information about a specific sensor.

The documentation for this struct was generated from the following file: