Comments (3)
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.
[1] https://github.com/bogde/HX711
[2] https://platformio.org/lib/show/1100/HX711
from arduino.
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.
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)
- ADS1231 library error build on arduino due HOT 15
- Getting wrong values from the HX711 HOT 3
- Issue in Compiling Library "ADS1231.H" for Arduino MKR1000 Board HOT 6
- Failure to clone recursively (libraries/Watterott-Arduino-Libs) HOT 2
- Update HX711 library HOT 1
- Use ADS123X library by Hamid Saffari
- "node-wifi-mqtt" fails to compile HOT 3
- "node-esp32-generic" fails to compile
- Make "node-terkin-next" build on ESP32
- Improving power-down for HX711 on ESP32
- Update Adafruit_MQTT_Library
- Phase out libDHT, use DHTNew HOT 1
- Refactor ADS1231 library to dedicated repository HOT 1
- Dissolve Makefile-based build tooling. Move on to PlatformIO. Thanks for all the fish! HOT 6
- Abhängigkeiten der Bienenwaage 2.0 und 5.0 aktualisieren HOT 1
- Abhängigkeiten der Firmware des »Mois sensor node« aktualisieren HOT 1
- Dependencies: Update platform SDK for `node-wifi-mqtt.ino` program
- Dependencies: Update platform SDK for Homie programs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino.