The Arduino source 'HX711/HX711.h' for libraries 'ExampleAddon/HX711' cannot be found. Install the third party library source first and try again.

5 次查看(过去 30 天)
why i keep getting the message
**************************************************************************************
The Arduino source 'HX711/HX711.h' for libraries 'ExampleAddon/HX711'
cannot be found. Install the 3P library source first and try again.
**************************************************************************************
even after i sucessfully add the path
i used the arduinosetup command to upload the server but still no joy

回答(1 个)

Madhu Govindarajan
Madhu Govindarajan 2018-12-17
Two things to confirm with this -
1) listArduinoLibraries should list this library.
2) The location where the 3rd party library is. To know where it should be -
a) open your Arduino IDE by typing winopen(arduinoio.IDERoot)
b) Go to File > Preferences and open the Sketchbook location in your explorer.
c) Create libraries folder inside this if it does not exist already.
d) Place the 3rd party library folder here and make sure that it has all the files accessible within one sublayer.
Madhu
  3 个评论
Mauricio RC
Mauricio RC 2023-5-10
Hi,
It´s been a while now but if I remember correctly when I installed the library in the right place I removed the DependentLibraries and the LibraryHeaderFiles to be equal to {}. That is lines 33 and 34 of the basic_HX711.m file. Someone in other block mentioned this solution, but I don´t remember where sorry.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Setup and Configuration 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by