Skip to content

sketch_mar04a:27:22: error: no matching function for call to 'HX711::HX711(int, int)' / candidate expects 0 arguments, 2 provided #130

Description

@ChrisMLian

Arduino: 1.8.7 (Windows 10), Board: "Arduino/Genuino Uno"

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

HX711 scale(DOUT, CLK);

                  ^

In file included from G:\Downloads\3d print\Load cell\sketch_mar04a\sketch_mar04a.ino:22:0:

G:\documents\Arduino\libraries\HX711-master\src/HX711.h:30:3: note: candidate: HX711::HX711()

HX711();

^

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

G:\documents\Arduino\libraries\HX711-master\src/HX711.h:19:7: note: candidate: constexpr HX711::HX711(const HX711&)

class HX711

   ^

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

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

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions