BOSCH BSEC integration

This commit is contained in:
Klaus K Wilting committed 2018-11-22 23:37:53 +01:00
1 parent e9cdeea2fb
commit 8f201e066f
58 files changed
+168 -67

No files matched your search

+9 -2
View File
@@ -13,9 +13,16 @@
#define SPI_SCLK GPIO_NUM_18
#define SPI_CS GPIO_NUM_5
////////////// test //////////
// enable only if device has these sensors, otherwise comment these lines
#define HAS_BME 0x77 // BME680 sensor on I2C bus (default SDA=4/SCL=15); comment out if not present
#define HAS_SENSORS 1 // comment out if device has user defined sensors
// BME680 sensor on I2C bus
#define HAS_BME GPIO_NUM_21, GPIO_NUM_22 // SDA, SCL
// #define BME_ADDR BME680_I2C_ADDR_PRIMARY // i2c addr 0x76
#define BME_ADDR BME680_I2C_ADDR_SECONDARY // i2c addr 0x77
//
// user defined sensors
//#define HAS_SENSORS 1 // comment out if device has user defined sensors
////////////// test //////////
#define CFG_sx1276_radio 1 // select LoRa chip
//#define CFG_sx1272_radio 1 // select LoRa chip
+6 -1
View File
@@ -7,7 +7,12 @@
////////////// test //////////
// enable only if device has these sensors, otherwise comment these lines
#define HAS_BME 0x77 // BME680 sensor on I2C bus (default SDA=21/SCL=22); comment out if not present
// BME680 sensor on I2C bus
#define HAS_BME GPIO_NUM_21, GPIO_NUM_22 // SDA, SCL
// #define BME_ADDR BME680_I2C_ADDR_PRIMARY // i2c addr 0x76
#define BME_ADDR BME680_I2C_ADDR_SECONDARY // i2c addr 0x77
//
// user defined sensors
//#define HAS_SENSORS 1 // comment out if device has user defined sensors
////////////// test //////////