From 58333280c6fb7696b2a2f9505f4239f33ef6cace Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Sat, 14 Jan 2017 13:06:24 +0100 Subject: [PATCH] Add config file for 2nd device --- WifiControlSensor/config_device.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/WifiControlSensor/config_device.h b/WifiControlSensor/config_device.h index c727a56..f12a20f 100644 --- a/WifiControlSensor/config_device.h +++ b/WifiControlSensor/config_device.h @@ -14,13 +14,12 @@ // Enable the temperatue and pressure Sensor BMP180 // (CONFIG_BMP180_SDA and CONFIG_BMP180_SDA should be defined as well) -#define CONFIG_ENABLE_BMP180 -#define CONFIG_BMP180_SDA 12 -#define CONFIG_BMP180_SCL 14 - -#define CONFIG_ENABLE_DHT -#define CONFIG_DHT_PIN 2 -#define CONFIG_DHT_TYPE DHT22 +//#define CONFIG_ENABLE_BMP180 +//#define CONFIG_BMP180_SDA 12 +//#define CONFIG_BMP180_SCL 14 +// +//#define CONFIG_ENABLE_DHT +//#define CONFIG_DHT_PIN 5 //#define CONFIG_ENABLE_DRY_SENSOR //If the dry sensor is powered by a GPIO, this GPIO could be defined here @@ -51,7 +50,7 @@ // GPIO that can be set or get by mqtt and set via http // Should have less value than MAXSUBSCRIPTIONS -//#define CONFIG_CONTROLLED_GPIO {12,13} +#define CONFIG_CONTROLLED_GPIO {2} // GPIO that can be get by mqtt and http // Pin 6 to 11 and 16 can not be used for mqtt