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

getRawCapacitance function is undefined #4

Open
PopovsSergejs opened this issue Dec 7, 2021 · 0 comments
Open

getRawCapacitance function is undefined #4

PopovsSergejs opened this issue Dec 7, 2021 · 0 comments

Comments

@PopovsSergejs
Copy link

The function which is declared in the header is not implemented in .cpp file. Here is Arduino IDE report

" libraries\ProtoCentral_FDC1004_Capacitive_Sensor_Library\Protocental_FDC1004.cpp.o: In function FDC1004::getCapacitance(unsigned char)': C:\Users\sergejsp\Documents\Arduino\libraries\ProtoCentral_FDC1004_Capacitive_Sensor_Library\src/Protocental_FDC1004.cpp:137: undefined reference to FDC1004::getRawCapacitance(unsigned char, fdc1004_measurement_t*)'
collect2.exe: error: ld returned 1 exit status
exit status 1 "

This function is used in getCapacitance(); function.

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