You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I encountered this error while compiling the code in Arduino IDE:
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:105:11: warning: unknown escape sequence: '/'
105 | DynamicJsonBuffer jsonBuffer;
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:105:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp: In member function 'String IFTTTMaker::sendTriggerEventWithData(String, ArduinoJson::V6214PB2::JsonObject&)':
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:76:26: error: 'class ArduinoJson::V6214PB2::JsonObject' has no member named 'measureLength'
76 | int length = payload.measureLength();
| ^~~~~~~~~~~~~
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:82:13: error: 'class ArduinoJson::V6214PB2::JsonObject' has no member named 'printTo'
82 | payload.printTo(out);
| ^~~~~~~
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp: In member function 'bool IFTTTMaker::triggerEvent(String, String, String, String)':
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:105:21: error: 'jsonBuffer' was not declared in this scope; did you mean 'JsonBuffer'?
105 | DynamicJsonBuffer jsonBuffer;
| ^~~~~~~~~~
| JsonBuffer
exit status 1
Compilation error: exit status 1
Appreciate any advice, thanks!
The text was updated successfully, but these errors were encountered:
Hi, I encountered this error while compiling the code in Arduino IDE:
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:105:11: warning: unknown escape sequence: '/'
105 | DynamicJsonBuffer jsonBuffer;
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:105:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp: In member function 'String IFTTTMaker::sendTriggerEventWithData(String, ArduinoJson::V6214PB2::JsonObject&)':
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:76:26: error: 'class ArduinoJson::V6214PB2::JsonObject' has no member named 'measureLength'
76 | int length = payload.measureLength();
| ^~~~~~~~~~~~~
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:82:13: error: 'class ArduinoJson::V6214PB2::JsonObject' has no member named 'printTo'
82 | payload.printTo(out);
| ^~~~~~~
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp: In member function 'bool IFTTTMaker::triggerEvent(String, String, String, String)':
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:105:21: error: 'jsonBuffer' was not declared in this scope; did you mean 'JsonBuffer'?
105 | DynamicJsonBuffer jsonBuffer;
| ^~~~~~~~~~
| JsonBuffer
exit status 1
Compilation error: exit status 1
Appreciate any advice, thanks!
The text was updated successfully, but these errors were encountered: