Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ lib_deps =
miguelbalboa/MFRC522@^1.4.7
plerup/EspSoftwareSerial@>=6.7.1
bblanchon/ArduinoJson@^6.16.1
emelianov/modbus-esp8266 @ ^3.0.3
emelianov/modbus-esp8266@^3.0.3
me-no-dev/ESPAsyncUDP@0.0.0-alpha+sha.697c75a025

[env:d1_mini]
platform = espressif8266
Expand All @@ -34,4 +35,10 @@ lib_deps =
miguelbalboa/MFRC522@^1.4.7
plerup/EspSoftwareSerial@>=6.7.1
bblanchon/ArduinoJson@^6.16.1
emelianov/modbus-esp8266 @ ^3.0.3
emelianov/modbus-esp8266@^3.0.3
paulstoffregen/Time
gmag11/NtpClientLib@^2.5.1
https://github.com/dancol90/ESP8266Ping.git
me-no-dev/ESPAsyncUDP@0.0.0-alpha+sha.697c75a025
ottowinter/ESPAsyncWebServer-esphome@^1.2.7
https://github.com/CurtRod/ModbusMaster.git
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include "esp_spiffs.h"
#include "esp_wifi.h"
#include "oled.h"
#endif


#include <TimeLib.h> // Library for converting epochtime to a date
#include <SPI.h> // SPI protocol
Expand Down Expand Up @@ -60,6 +62,7 @@ String swVersion = String(sw_maj) + "." + String(sw_min) + "." + String(sw_rev);
#else
uint8_t sw_maj = 2; //Firmware Major Version
String swVersion = String(sw_maj) + "." + String(sw_min) + "." + String(sw_rev);
#endif

//////////////////////////////////////////////////////////////////////////////////////////
/////// Variables For Whole Scope
Expand Down