andium / hueDino

An Arduino library for WiFi101 connected devices implementing the Philips Hue API
Apache License 2.0
33 stars 12 forks source link

need to upgrade to ArduinoJson 6 syntax #2

Open applechips opened 5 years ago

applechips commented 5 years ago

in /hueDino.cpp lines 264 ad 297. StaticJsonBuffer class does not exist anymore.

// ArduinoJson 5
StaticJsonBuffer<256> jb;

// ArduinoJson 6
StaticJsonDocument<256> doc;
3Dietrich commented 4 years ago

..and you should mention it directly on readme! damn! I tried installed all and the result is a 12 meter long error message I need to find out myself. ArduinoJson v5 is incompatible to v6 and there is no update to run old versions ? I can't go thru all your files and search all the little issues and need to replace that changes.. or what should I do now? just get rid of this hueDino because it's outdated (v5 != v6)? ohman...

lukks22 commented 3 years ago

I have rewritten the code to be compatible with v6. It's in the pull requests, if you're interested

tahunus commented 1 year ago

I have rewritten the code to be compatible with v6. It's in the pull requests, if you're interested

THANKS!