-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"node-esp8266-generic" fails to compile #31
Comments
Hi @thehi1, thank you for writing in.
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 ;].
The canonical HX711 library [1,2] by Bogdan is the right one we are using all across the board. With kind regards, [1] https://github.com/bogde/HX711 |
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 Please let us know about the outcome. With kind regards, |
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
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, [1] https://github.com/bogde/HX711/blob/master/examples/HX711_basic_example/HX711_basic_example.ino |
I am trying to compile the file "node-esp8266-generic".
Neither under Atom nor with the latest version of the Arduino IDE can the scatch be compiled.
It concerns HX711. When doing
#define WEIGHT false
, then it works.In the meantime I have tried 3 different libraries. Unfortunately without success.
Message from Compiler:
The text was updated successfully, but these errors were encountered: