From 8d3d4fe812135abab6da1310a89652b4917b979e Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Fri, 25 Jan 2019 20:28:55 +0100 Subject: [PATCH] update ttgobeam.h; sanitize globals.h --- include/globals.h | 1 - src/hal/ttgobeam.h | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/include/globals.h b/include/globals.h index a7450227..2b421d6d 100644 --- a/include/globals.h +++ b/include/globals.h @@ -9,7 +9,6 @@ #include #include #include "mallocator.h" -//#include "inc/bsec_datatypes.h" #include "../lib/Bosch-BSEC/src/inc/bsec_datatypes.h" // sniffing types diff --git a/src/hal/ttgobeam.h b/src/hal/ttgobeam.h index 4b823e04..8dd12bd4 100644 --- a/src/hal/ttgobeam.h +++ b/src/hal/ttgobeam.h @@ -24,13 +24,13 @@ // enable only if device has these sensors, otherwise comment these lines // BME680 sensor on I2C bus -//#define HAS_BME GPIO_NUM_21, GPIO_NUM_22 // SDA, SCL -//#define BME_ADDR BME680_I2C_ADDR_PRIMARY // connect SDIO of BME680 to GND +//#define HAS_BME SDA, SCL +//#define BME_ADDR BME680_I2C_ADDR_PRIMARY // !! connect SDIO of BME680 to GND !! // display (if connected) //#define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C -//#define MY_OLED_SDA (21) -//#define MY_OLED_SCL (22) +//#define MY_OLED_SDA SDA +//#define MY_OLED_SCL SCL //#define MY_OLED_RST U8X8_PIN_NONE //#define DISPLAY_FLIP 1 // use if display is rotated