WEMOS D1迷你气泡软件har.h目前尚未发现但找不到
目前正在工作。我更改了一些代码。我现在想上传此代码,但是我会收到错误
AirGradient.h:10:28: fatal error: SoftwareSerial.h: No such file or directory
,我不知道为什么会这样,因为它以前工作正常,并且我的 softwareserial.h
位于/home/home/home/user /downloads/arduino-1.8.19-linux64/arduino-1.8.19/hardware/arduino/avr/avr/libraries/softwareserial/src/softwareserial.h
。
我在Ubuntu Linux 22.04下使用Arduino IDE。
搜索路径是否以某种方式配置不正确?我该如何解决?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,在说什么之前,我不建议我最大的敌人使用
arduino
IDE进行工作。但是我知道有恋人,我只是一个。但是我看不到任何建议:
继续前进。
您的Arduino IDE希望您将库文件安装在
< Sketchbook-location>/libraries
文件夹中。您可以在首选项下在Arduino IDE中找到
Sketchbook-Location
的路径。它应该是第一项。
如果您的Sketchbook-location与您在问题上粘贴的路径匹配,则
/home/user/downloads/arduino-1.8.19-19-linux64/arduino-1.8.19/hardware/arduino/arduino/arduino/avrino/avr/avr/code>,然后,我只尝试一次删除软库,然后使用库管理器重新安装它。
不要忘记将板类型更改为ESP8266(或WEMOS D1)。
如果这些都没有用,只需遵循我的建议列表即可。
Ok, before saying anything, I wouldn't recommend my worst enemy to use
Arduino
IDE to do work. But I know there are lovers, I just ain't one.But I can't see this without leaving some Suggestions:
Moving on.
Your Arduino IDE expects you to have your library files installed in the
<sketchbook-location>/libraries
folder.You can find the path to your
sketchbook-location
in Arduino IDE under Preferences.It should be the first Item.
If your sketchbook-location matches with the path you pasted on your question,
/home/user/Downloads/arduino-1.8.19-linux64/arduino-1.8.19/hardware/arduino/avr/
, then I would just try to delete the SoftSerial library at once and reinstall it using the Library Manager.Don't forget to change the board type to ESP8266 (or wemos D1).
If none of that works, just go with my list of suggestions.