vspaceone / MQTT-SpaceStatus

Space-Status switch on an ESP8266 with MQTT
0 stars 1 forks source link

Upgrade to ArduinoJson6 #4

Open noppelmax opened 5 years ago

noppelmax commented 5 years ago

Sieht so aus als wär der Code für ArduinoJson5. Aktuell ist ArduinoJson6. Bei Gelegenheit upgraden.

Arduino: 1.8.2 (Linux), TD: 1.41, Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 921600, 4M (3M SPIFFS)"

DHT_Sensor:131: error: StaticJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
     StaticJsonBuffer<200> jsonBuffer;
           ^
exit status 1
StaticJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
noppelmax commented 5 years ago

https://arduinojson.org/v6/doc/upgrade/

H3wastooshort commented 1 year ago

will be fixed in #8