Git Product home page Git Product logo

Comments (3)

amotl avatar amotl commented on July 19, 2024

Hi @thehi1,

thank you for writing in.

no matching function for call to 'HX711::HX711(const uint8_t&, const uint8_t&)'

This indicates that we will probably have to update the code to use the most recent version of the HX711 library. We changed its constructor method with bogde/HX711#123 in order to make it compatible with more devices and apparently haven't updated this program ever since. Apologies.

Edit: See also #26 ;].

In the meantime I have tried 3 different libraries.

The canonical HX711 library [1,2] by Bogdan is the right one we are using all across the board.

With kind regards,
Andreas.

cc @ClemensGruber

[1] https://github.com/bogde/HX711
[2] https://platformio.org/lib/show/1100/HX711

from arduino.

amotl avatar amotl commented on July 19, 2024

Hi @thehi1,

similar to #33, #34 will bring a build environment based on PlatformIO to this program. In order to run the build, just invoke make in the respective program folder. Along the lines, this patch also adjusts the program to use the most recent library versions and will mitigate the hiccup you observed with the HX711.

Please let us know about the outcome.

With kind regards,
Andreas.

from arduino.

amotl avatar amotl commented on July 19, 2024

Hi @thehi1,

please make sure to use the most recent version of Bogdans HX711 library and use respective code to control it, like [1]. The key is that you should use the new initialization method like

HX711 scale;
scale.begin(LOADCELL_DOUT_PIN, LOADCELL_SCK_PIN);

I am trying to compile the file "node-esp8266-generic".

You probably used the outdated version [2]. When you will look again at [3], you will receive the modernized version. The corresponding patch to get things straight was c4da975a11.

Thank you very much for notifying us about this problem. Please let us know if this works for you.

With kind regards,
Andreas.

[1] https://github.com/bogde/HX711/blob/master/examples/HX711_basic_example/HX711_basic_example.ino
[2] https://github.com/hiveeyes/arduino/blob/27524ff41d44fcd317fa585664e72fea9f7a7421/node-esp8266-generic/node-esp8266-generic.ino
[3] https://github.com/hiveeyes/arduino/blob/master/node-esp8266-generic/node-esp8266-generic.ino

from arduino.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.