本帖最后由 GeekPower 于 2018-11-10 11:43 编辑
你好,楼主,我的环境是arduino1.6.13,烧写例程代码出错,出错位置第98行, DynamicJsonBuffer jsonBuffer,请问一下怎么回事呢,谢谢解答
[C] 纯文本查看 复制代码 D:\Graduation Project\WeatherESP8266\WeatherESP8266.ino: In function 'bool parseUserData(char*, UserData*)':
WeatherESP8266:98: error: 'DynamicJsonBuffer' was not declared in this scope
WeatherESP8266:98: error: expected ';' before 'jsonBuffer'
WeatherESP8266:100: error: 'JsonObject' was not declared in this scope
WeatherESP8266:100: error: 'root' was not declared in this scope
WeatherESP8266:100: error: 'jsonBuffer' was not declared in this scope
exit status 1
'DynamicJsonBuffer' was not declared in this scope
2018.11.10 问题已解决,解决方案:
https://arduinojson.org/v5/faq/error-jsonbuffer-was-not-declared-in-this-scope/
|