Add support for the BH1750 light meter sensor
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user