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

not working for Arduino Mega2560 #4

Open
rkv006 opened this issue Jul 22, 2020 · 0 comments
Open

not working for Arduino Mega2560 #4

rkv006 opened this issue Jul 22, 2020 · 0 comments

Comments

@rkv006
Copy link

rkv006 commented Jul 22, 2020

hi,

when i try to run this SerialScale example i got this error

C:\Users\admin\AppData\Local\Temp\ccaxVJAp.ltrans0.ltrans.o: In function global constructors keyed to 65535_0_SerialScale.ino.cpp.o.1745': <artificial>:(.text.startup+0x60): undefined reference to Hx711::Hx711(unsigned char, unsigned char)'
C:\Users\admin\AppData\Local\Temp\ccaxVJAp.ltrans0.ltrans.o: In function loop': C:\Users\admin\Desktop\rakesh\hx711\examples\SerialScale/SerialScale.ino:26: undefined reference to Hx711::getGram()'
C:\Users\admin\AppData\Local\Temp\ccaxVJAp.ltrans0.ltrans.o: In function __static_initialization_and_destruction_0': C:\Users\admin\Desktop\rakesh\hx711\examples\SerialScale/SerialScale.ino:16: undefined reference to Hx711::~Hx711()'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Mega or Mega 2560.

how do we solve this issue
please give a reply :(

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