发布于 2022-11-17 05:46:32
Sidenote:解决方案是谷歌搜索你的错误的第一个结果。在开始一个问题之前尝试搜索可能是谨慎的。
根据您的问题,我假设您在VSCode中使用的是ESP-国防军的VSCode。
从编译日志中,似乎缺少了Wire库。要解决这个问题,只需在lib_deps = Wire文件的[env]部分下添加platformio.ini。因此,[env]文件的platformio.ini部分应该如下所示:
[env]
platform = https://github.com/tasmota/platform-espressif32/#Tasmota/204
board = nodemcu-32s
framework = arduino, espidf
upload_port = /dev/cu.usbserial-0001
monitor_port = /dev/cu.usbserial-0001
monitor_speed = 115200
lib_deps = Wire ; <--- This linehttps://stackoverflow.com/questions/74470544
复制相似问题