【已更新】ArduinoJson6结合blinker分析获取weather数据-Arduino中文社区 - Powered by Discuz! Archiver

a7178636965 发表于 2020-1-31 19:49


呃呃呃。。。看不懂x7

瞌睡虫2020 发表于 2020-6-6 19:07

请问楼主,这个ArduinoJson库如何遍历内部的数据?

18038802360 发表于 2020-7-18 12:54

12:53:54.582 -> ERROR: SERVER NOT ALIVE OR MSG LIMIT
12:53:56.609 -> ERROR: SERVER NOT ALIVE OR MSG LIMIT
12:53:58.629 -> ERROR: SERVER NOT ALIVE OR MSG LIMIT
12:54:00.652 -> ERROR: SERVER NOT ALIVE OR MSG LIMIT

一直提示这个,delay也改成了2000了,还是一样,望回答,谢谢

安少 发表于 2020-8-4 16:33

18038802360 发表于 2020-7-18 12:54
12:53:54.582 -> ERROR: SERVER NOT ALIVE OR MSG LIMIT
12:53:56.609 -> ERROR: SERVER ...

Blinker.delay(5000);

fegsky 发表于 2021-11-12 21:59

Blinker.weather("yunfu");报错
invalid conversion from 'const char*' to 'uint32_t' {aka 'unsigned int'} [-fpermissive]

anzhiruosu 发表于 2022-4-9 10:18

C:\Users\AppData\Local\Temp\arduino_modified_sketch_831467\sketch_apr09a.ino: In function 'void loop()': sketch_apr09a:54:34: error: invalid conversion from 'const char*' to 'uint32_t {aka unsigned int}' [-fpermissive] In file included from D:\Program Files\arduino\libraries\blinker-library-0.3.9\src/BlinkerESPMQTT.h:17:0,                  from D:\Program Files\arduino\libraries\blinker-library-0.3.9\src/Blinker.h:43,                  from C:\Users\李润涛\AppData\Local\Temp\arduino_modified_sketch_831467\sketch_apr09a.ino:3: D:\Program Files\arduino\libraries\blinker-library-0.3.9\src/Blinker/BlinkerApi.h:6384:10: note:   initializing argument 1 of 'void BlinkerApi::weather(uint32_t)'      void BlinkerApi::weather(uint32_t _city)         ^ exit status 1 invalid conversion from 'const char*' to 'uint32_t {aka unsigned int}' [-fpermissive]

anzhiruosu 发表于 2022-4-9 10:18

anzhiruosu 发表于 2022-4-9 10:18
C:%users\AppData\Local\Temp\arduino_modified_sketch_831467\sketch_apr09a.ino: In function 'void loop ...

这个报错怎么回事呢求大佬
页: 1 2 [3]
查看完整版本: 【已更新】ArduinoJson6结合blinker分析获取weather数据