You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nvm solved it by removing the arguments HX711 scale(DOUT, CLK);
Yeah, we changed the signature and the library API recently by #123, which hasn't been made backward compatible on purpose. Sorry that this caused some hassle for you.
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.
The text was updated successfully, but these errors were encountered: