From 8fb8e9def2c83ec22ed2b18a489d7eb674b687e6 Mon Sep 17 00:00:00 2001 From: livello Date: Wed, 7 Mar 2018 18:27:45 +0300 Subject: [PATCH 1/2] pubsubclient --- lighthub/inputs.cpp | 2 +- lighthub/item.cpp | 2 +- lighthub/lighthub.ino | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lighthub/inputs.cpp b/lighthub/inputs.cpp index bda8f51..075232d 100644 --- a/lighthub/inputs.cpp +++ b/lighthub/inputs.cpp @@ -21,7 +21,7 @@ e-mail anklimov@gmail.com #include "inputs.h" #include "aJSON.h" #include "item.h" -#include +#include extern PubSubClient client; diff --git a/lighthub/item.cpp b/lighthub/item.cpp index 1bb086b..0189b80 100644 --- a/lighthub/item.cpp +++ b/lighthub/item.cpp @@ -41,7 +41,7 @@ e-mail anklimov@gmail.com #endif #include -#include +#include #define dimPar SERIAL_8E1 #define fmPar SERIAL_8N1 diff --git a/lighthub/lighthub.ino b/lighthub/lighthub.ino index 6fb153c..543808f 100644 --- a/lighthub/lighthub.ino +++ b/lighthub/lighthub.ino @@ -62,7 +62,7 @@ Config webserver #include "options.h" #include -#include +#include #include #include "utils.h" From e8f349fce5c06b80456a64b2ae6eb14f3fffc1f5 Mon Sep 17 00:00:00 2001 From: livello Date: Wed, 7 Mar 2018 18:40:04 +0300 Subject: [PATCH 2/2] pio --- platformio.ini | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 platformio.ini diff --git a/platformio.ini b/platformio.ini new file mode 100644 index 0000000..1a8554f --- /dev/null +++ b/platformio.ini @@ -0,0 +1,30 @@ +; PlatformIO Project Configuration File +; +; Build options: build flags, source filter +; Upload options: custom upload port, speed and extra flags +; Library options: dependencies, extra library storages +; Advanced options: extra scripting +; +; Please visit documentation for the other options and examples +; http://docs.platformio.org/page/projectconf.html +[platformio] +src_dir = lighthub + +[env:megaatmega2560] +platform = atmelavr +board = megaatmega2560 +framework = arduino +lib_deps = + https://github.com/livello/Arduino-Temperature-Control-Library.git + https://github.com/anklimov/DS2482_OneWire + https://github.com/anklimov/DmxSimple + https://github.com/anklimov/HTTPClient + https://github.com/anklimov/aJson + https://github.com/anklimov/CmdArduino + https://github.com/anklimov/ModbusMaster + https://github.com/anklimov/DMXSerial + https://github.com/anklimov/Ethernet + 126 + https://github.com/PaulStoffregen/SPI.git + https://github.com/knolleary/pubsubclient.git + https://github.com/natcl/Artnet.git \ No newline at end of file