when i try to verify / compile the MHI-ESP2MQTT there is shown an error:
MHI-ESP2MQTT:132:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6 DynamicJsonBuffer jsonBuffer; ^ MHI-ESP2MQTT:308:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6 DynamicJsonBuffer jsonBuffer; ^ exit status 1 DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
How must i change the both lines where it is used? I tried "DynamicJsonDocument jsonBuffer(1024);" but then it's running into next errors. Or is there a way to tell the Arduino IDE to use v5 instead of v6?
Hi,
when i try to verify / compile the MHI-ESP2MQTT there is shown an error:
MHI-ESP2MQTT:132:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6 DynamicJsonBuffer jsonBuffer; ^ MHI-ESP2MQTT:308:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6 DynamicJsonBuffer jsonBuffer; ^ exit status 1 DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
How must i change the both lines where it is used? I tried "DynamicJsonDocument jsonBuffer(1024);" but then it's running into next errors. Or is there a way to tell the Arduino IDE to use v5 instead of v6?
Best Regards and thanks for that great work
Manuel