mirror of
https://github.com/eddyem/eddys_snippets.git
synced 2026-03-20 08:41:02 +03:00
Add BMP280/BME280 (tested only on BME); add SHT3x (bug: reads only once)
This commit is contained in:
@@ -21,12 +21,14 @@
|
||||
|
||||
#include "aht.h"
|
||||
#include "BMP180.h"
|
||||
#include "BMP280.h"
|
||||
#include "i2c.h"
|
||||
#include "sensors_private.h"
|
||||
#include "SHT3x.h"
|
||||
#include "SI7005.h"
|
||||
|
||||
// NULL-terminated list of all supported sensors
|
||||
static const sensor_t* supported_sensors[] = {&AHT10, &AHT15, &AHT21, &BMP180, &SI7005, NULL};
|
||||
static const sensor_t* supported_sensors[] = {&AHT10, &AHT15, &AHT21, &BME280, &BMP180, &BMP280, &SHT3x, &SI7005, NULL};
|
||||
|
||||
// just two stupid wrappers
|
||||
int sensors_open(const char *dev){
|
||||
|
||||
Reference in New Issue
Block a user