DHT22 Input support, thermo and esp refactoring

This commit is contained in:
livello
2018-06-09 17:06:58 +03:00
parent 7b69482180
commit 7d09bc6ad0
18 changed files with 270 additions and 294 deletions

View File

@@ -10,10 +10,10 @@
[platformio]
src_dir = lighthub
env_default =
; megaatmega2560
megaatmega2560
; due
; esp8266
megaatmega2560-5500
; megaatmega2560-5500
; due-5500
; controllino
@@ -40,6 +40,8 @@ lib_deps =
FastLED
SD
SdFat
Adafruit Unified Sensor
DHT sensor library
[env:megaatmega2560]
@@ -64,6 +66,8 @@ lib_deps =
https://github.com/anklimov/Artnet.git
FastLED
EEPROM
Adafruit Unified Sensor
DHT sensor library
[env:esp8266]
@@ -71,7 +75,7 @@ platform = espressif8266
framework = arduino
board = nodemcuv2
lib_ldf_mode = chain+
build_flags = !echo -n "-DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
build_flags = !echo -n "-DMODBUS_DISABLE -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
;extra_scripts = pre:my_build_flags.py
lib_deps =
https://github.com/anklimov/Arduino-Temperature-Control-Library.git
@@ -84,7 +88,10 @@ lib_deps =
https://github.com/knolleary/pubsubclient.git
https://github.com/anklimov/Artnet.git
FastLED
WifiManager
Adafruit Unified Sensor
DHT sensor library for ESPx
DHT sensor library
[env:megaatmega2560-5500]
platform = atmelavr
@@ -109,6 +116,8 @@ lib_deps =
https://github.com/anklimov/Artnet.git
FastLED
EEPROM
Adafruit Unified Sensor
DHT sensor library
[env:due-5500]
platform = atmelsam
@@ -134,7 +143,8 @@ lib_deps =
FastLED
SD
SdFat
Adafruit Unified Sensor
DHT sensor library
[env:controllino]
platform = atmelavr
@@ -159,4 +169,5 @@ lib_deps =
https://github.com/anklimov/Artnet.git
FastLED
EEPROM
Adafruit Unified Sensor
DHT sensor library