Skip to content
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

no matching function for call to 'HX711::HX711(int, int) #1

Open
jjanderson opened this issue Feb 25, 2020 · 0 comments
Open

no matching function for call to 'HX711::HX711(int, int) #1

jjanderson opened this issue Feb 25, 2020 · 0 comments

Comments

@jjanderson
Copy link

Hi,

Could you please help wth this error?

error: no matching function for call to 'HX711::HX711(int, int)'

 HX711 scale(DOUT, CLK);

                      ^

C:\Users\user\AppData\Local\Temp\arduino_modified_sketch_992900\Blink.ino:32:22: note: candidates are:

In file included from C:\Users\JJAnderson\AppData\Local\Temp\arduino_modified_sketch_992900\Blink.ino:4:0:

\\ANDERVILLE\home\Arduino\libraries\HX711-master\src/HX711.h:30:3: note: HX711::HX711()

   HX711();

   ^

\\xx\home\Arduino\libraries\HX711-master\src/HX711.h:30:3: note:   candidate expects 0 arguments, 2 provided

\\xx\home\Arduino\libraries\HX711-master\src/HX711.h:19:7: note: constexpr HX711::HX711(const HX711&)

 class HX711

       ^

\\xx\home\Arduino\libraries\HX711-master\src/HX711.h:19:7: note:   candidate expects 1 argument, 2 provided

Using library ESP8266WiFi at version 1.0 in folder: C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi 
Using library Ticker at version 1.0 in folder: C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\Ticker 
Using library async-mqtt-client-master at version 0.8.2 in folder: \\xx\home\Arduino\libraries\async-mqtt-client-master 
Using library ESPAsyncTCP-master at version 1.2.2 in folder: \\xx\home\Arduino\libraries\ESPAsyncTCP-master 
Using library HX711-master at version 0.7.3 in folder: \\xx\home\Arduino\libraries\HX711-master 
exit status 1
no matching function for call to 'HX711::HX711(int, int)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant