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

-15
View File
@@ -1,15 +0,0 @@
#ifndef _BME680_H
#define _BME680_H
#include "globals.h"
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include "Adafruit_BME680.h"
extern bmeStatus_t
bme_status; // Make struct for storing gps data globally available
void bme_init();
bool bme_read();
#endif
+23
View File
@@ -0,0 +1,23 @@
#ifndef _BME680MEMS_H
#define _BME680MEMS_H
#include "globals.h"
#include <Wire.h>
#include "bme680.h"
#include "bsec_interface.h"
#include "bsec_datatypes.h"
//#include "bme680_defs.h"
//#include "bme680.c"
extern bmeStatus_t
bme_status; // Make struct for storing gps data globally available
void bme_init();
bool bme_read();
void user_delay_ms(uint32_t period);
int8_t user_i2c_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data,
uint16_t len);
int8_t user_i2c_write(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data,
uint16_t len);
#endif
+1 -1
View File
@@ -95,7 +95,7 @@ extern TaskHandle_t irqHandlerTask, wifiSwitchTask;
#endif
#ifdef HAS_BME
#include "bme680.h"
#include "bme680mems.h"
#endif
#ifdef HAS_LORA
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Internal Server Error - DigitalInfinitys Git
500 Internal Server Error

An error occurred:

An error occurred

Gitea Version: 28.2.0