Allow pins/settings to be defined in INI file (#597)

* Allow pins/settings to be defined in INI file

* Open to make publishing ManufacturerData optional
This commit is contained in:
Jonathan authored and GitHub committed 2020-05-03 08:56:40 -05:00
1 parent 470790b42e
commit 9fc5ba99f5
9 files changed
+90 -56

No files matched your search

+4 -2
View File
@@ -49,8 +49,10 @@ extern void HTU21toMQTT();
#define HTUTOPIC "/CLIMAtoMQTT/htu"
#if defined(ESP32)
#define I2C_SDA 16
#define I2C_SCL 0
#if !defined(I2C_SDA) || !defined(I2C_SCL)
#define I2C_SDA 16
#define I2C_SCL 0
#endif
#endif
#endif