Pr/61 add I2C sensors BME280 and BH1750 (#64)

* changed user config

* added lightsensor module

* changed Pin Adresses

* Added I2C Lightsensor

Added the I2C Lightsensor and Switchted most Pins

* removed some debug to serial

removed some debug stuff was send to serial console

* Merge with Master

* Too much things for arduino uno

per default remove sensors for it

* Adding I2C Module function

Opens the Door on OpenMQTTGateway for "i2c Bus Modules/Sensors"

* Fixing BH1750 detection

Fixing the detection for a missing BH1750 Module

* Add libraries and define sensors depending on wiring type #63
This commit is contained in:
Florian
2017-06-14 23:42:11 +02:00
committed by GitHub
parent f02ab58e31
commit 56057690a5
9 changed files with 464 additions and 24 deletions

9
.gitmodules vendored
View File

@@ -10,3 +10,12 @@
[submodule "libraries/IRremote"]
path = libraries/IRremote
url = git://github.com/z3t0/Arduino-IRremote.git
[submodule "libraries/SparkFun_BME280_Arduino_Library"]
path = libraries/SparkFun_BME280_Arduino_Library
url = https://github.com/sparkfun/SparkFun_BME280_Arduino_Library
[submodule "libraries/Adafruit_Sensor"]
path = libraries/Adafruit_Sensor
url = https://github.com/adafruit/Adafruit_Sensor
[submodule "libraries/DHT-sensor-library"]
path = libraries/DHT-sensor-library
url = https://github.com/adafruit/DHT-sensor-library