thebells1111 / esp8266-sprinkler-timer Goto Github PK
View Code? Open in Web Editor NEWWeb Browser Control of timer for Sprinkler system using ESP-8266
Web Browser Control of timer for Sprinkler system using ESP-8266
too many errors, what are the dependency libraries
`In file included from C:\Users\user\Desktop\New folder\ESP8266-Sprinkler-Timer-master\sprinkler\sprinkler.ino:9:0:
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:86:5: error: 'DynamicJsonDocument' does not name a type
DynamicJsonDocument _jsonBuffer;
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In constructor 'AsyncJsonResponse::AsyncJsonResponse(bool, size_t)':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:104:100: error: class 'AsyncJsonResponse' does not have any field named '_jsonBuffer'
AsyncJsonResponse(bool isArray=false, size_t maxJsonBufferSize = DYNAMIC_JSON_DOCUMENT_SIZE) : _jsonBuffer(maxJsonBufferSize), _isValid{false} {
^
In file included from C:\Users\user\Desktop\New folder\ESP8266-Sprinkler-Timer-master\sprinkler\sprinkler.ino:9:0:
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:108:17: error: '_jsonBuffer' was not declared in this scope
_root = _jsonBuffer.createNestedArray();
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:110:17: error: '_jsonBuffer' was not declared in this scope
_root = _jsonBuffer.createNestedObject();
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'size_t AsyncJsonResponse::setLength()':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:122:41: error: 'measureJson' was not declared in this scope
_contentLength = measureJson(_root);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'size_t AsyncJsonResponse::getSize()':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:129:30: error: '_jsonBuffer' was not declared in this scope
size_t getSize() { return _jsonBuffer.size(); }
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'virtual size_t AsyncJsonResponse::_fillBuffer(uint8_t*, size_t)':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:137:32: error: 'serializeJson' was not declared in this scope
serializeJson(_root, dest);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'size_t PrettyAsyncJsonResponse::setLength()':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:154:43: error: 'measureJsonPretty' was not declared in this scope
_contentLength = measureJsonPretty(_root);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'virtual size_t PrettyAsyncJsonResponse::_fillBuffer(uint8_t*, size_t)':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:164:34: error: 'serializeJsonPretty' was not declared in this scope
serializeJsonPretty(_root, dest);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h: In member function 'virtual void AsyncCallbackJsonWebHandler::handleRequest(AsyncWebServerRequest*)':
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:222:9: error: 'DynamicJsonDocument' was not declared in this scope
DynamicJsonDocument jsonBuffer(this->maxJsonBufferSize);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:222:29: error: expected ';' before 'jsonBuffer'
DynamicJsonDocument jsonBuffer(this->maxJsonBufferSize);
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:223:9: error: 'DeserializationError' was not declared in this scope
DeserializationError error = deserializeJson(jsonBuffer, (uint8_t*)(request->_tempObject));
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:223:30: error: expected ';' before 'error'
DeserializationError error = deserializeJson(jsonBuffer, (uint8_t*)(request->_tempObject));
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:224:13: error: 'error' was not declared in this scope
if(!error) {
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:225:30: error: 'jsonBuffer' was not declared in this scope
JsonVariant json = jsonBuffer.as<JsonVariant>();
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:225:55: error: expected primary-expression before '>' token
JsonVariant json = jsonBuffer.as<JsonVariant>();
^
C:\Users\user\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:225:57: error: expected primary-expression before ')' token
JsonVariant json = jsonBuffer.as<JsonVariant>();
^
exit status 1
Error compiling for board NodeMCU 0.9 (ESP-12 Module).
Invalid library found in C:\Users\user\Documents\Arduino\libraries\ESP8266-Sprinkler-Timer-master: C:\Users\user\Documents\Arduino\libraries\ESP8266-Sprinkler-Timer-master
SPIFFS Warning: mkspiffs canceled!
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.