Enviro pHAT sensor driver structure. More...
#include <drivers/drivers.h>

Data Fields | |
| hw_gpio_t | led |
| LED GPIO pin. | |
| hw_i2c_t | i2c |
| I2C bus handle. | |
| driver_tcs3472_t | tcs3472 |
| TCS3472 color sensor. | |
| driver_lsm303_t | lsm303 |
| LSM303 accelerometer/magnetometer. | |
| driver_bme280_t | bme280 |
| BME280 environmental sensor. | |
Enviro pHAT sensor driver structure.
This structure contains the configuration and state information for the Enviro pHAT sensor instance, which includes TCS3472 color sensor, LSM303 accelerometer/magnetometer, and BME280 environmental sensor.
Definition at line 31 of file drivers_envirophat.h.