ESP8266-写单字段

15次观看(最近30天)
雷伊·垫子
雷伊·垫子 2021年5月21日
编辑: Vinod 2021年5月27日
你好
我使用示例程序将数据写入ThingsPeak,并且有以下汇编错误
c:/users/name/.platformio/packages/toolchain-xtensa/bin/../ lib/gcc/gcc/xtensa-lx106-elf/4.8.2 /../../../../../../../../../../../../../../-elf/bin/ld.exe:.pio \ build \ nodemcuv2 \ src \ src \ main.cpp.o :(。text.setup+0xc):未定义对“ Thingspeak'”
collect2.exe:错误:LD返回1退出状态
*** [.pio \ build \ nodemcuv2 \ instarware.felf]错误1
这是我的文件
#include
#include
#include
#include //始终在其他标头文件和自定义宏之后包含thingspeak标头文件
我已经在网络上搜索了,但是找不到解决方案。如果有人可以帮助我。先感谢您。

答案(1)

Vinod
Vinod 2021年5月25日
编辑:Vinod 2021年5月27日
您的platform.ini文件中的项目依赖项列表中没有thingspeak库。您需要像这样添加Thingspeak库:

社区

更多答案Things Pakeak社区

下载188bet金宝搏

社区寻宝

在Matlab Central中找到宝藏,发现社区如何为您提供帮助!

开始狩猎!