Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
和风天气免费订阅每日最多可请求1000次API,无总使用量及试用时间限制,比易刻天气的免费规则要好很多。
主要附带更改为:
1.将
ArduinoJson库版本升级为7.1.0,不再需要指定JsonDocument的大小,提高Json数据的提取效率并减少系统资源的消耗2.添加
URLCode库,以便将中文转换为URL编码,用于请求和风天气LocationID数据3.添加
ArduinoUZlib库,用于解压和风天气API返回的使用GZip压缩的数据4.可选是否通过IP地址自动获取地理位置
5.更好的天气界面显示效果
6.将部分Web Setting选项改为选择而非填空
7.禁用看门狗及断电探测器,防止因GET请求时间过长、供电不够等导致的重启
8.因目前并没有应用需要检测震动,而震动检测会导致手拿小电视时串口疯狂输出,所以禁用振动检测
9.取消
MPU6050库library.json文件的注释,改为删除会引起编译报错的相关内容,使得编译时不会因注释而显示错误信息10.默认禁用旧版天气应用