Add support for the BH1750 light meter sensor

This commit is contained in:
2021-01-15 10:11:49 +01:00
parent 8f223e8877
commit 4c58cacc21
2 changed files with 46 additions and 0 deletions

View File

@@ -53,3 +53,14 @@
// #define RAIN_PIN line
#undef RAIN_PIN
//#define RAIN_PIN D0
// Pins used for I²C communication. You will be instructed below if you need
// to uncomment these
//#define I2C_SDA_PIN D1
//#define I2C_SCL_PIN D2
// If you have a BH1750 light level sensor, remove this #undef line and
// uncomment the #define HAVE_BH1750 line. You will also have to set the SDA
// and SCL pins using the I2C_SDA_PIN and I2C_SCL_PIN defines above.
#undef HAVE_BH1750
//#define HAVE_BH1750