Add config file for 2nd device

This commit is contained in:
Mathieu Maret 2017-01-14 13:06:24 +01:00
parent a1e40b150f
commit 58333280c6

View File

@ -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