YFROBOT创客社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 39560|回复: 29
打印 上一主题 下一主题

ESP8266 wifi 获取天气数据情况 心知天气API 中国气象局开放平台 arduino

  [复制链接]

签到天数: 3 天

[LV.2]偶尔看看I

楼主
发表于 2018-11-9 16:47:22 | 显示全部楼层
谢谢楼主分享,目前在做毕业设计,准备加入获取天气预报的功能。
回复 支持 反对

使用道具 举报

签到天数: 3 天

[LV.2]偶尔看看I

沙发
发表于 2018-11-9 18:05:02 | 显示全部楼层
本帖最后由 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/
回复 支持 1 反对 0

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|联系我们|YFROBOT ( 苏ICP备20009901号-2  

GMT+8, 2024-5-6 00:08 , Processed in 0.046073 second(s), 23 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表