HI.
I am trying to use your example, but I get following error messages during code compiling:
C:\Users\ANC\AppData\Local\Temp\arduino_modified_sketch_764779/sketch_nov01a.ino:252: undefined reference to `ZMPT101B::setSensitivity(float)'
C:\Users\ANC\AppData\Local\Temp\arduino_modified_sketch_764779/sketch_nov01a.ino:252: undefined reference to `ZMPT101B::setZeroPoint(int)'
C:\Users\ANC\AppData\Local\Temp\arduino_modified_sketch_764779/sketch_nov01a.ino:252: undefined reference to `ACS712::setZeroPoint(int)'
C:\Users\ANC\AppData\Local\Temp\arduino_modified_sketch_764779/sketch_nov01a.ino:252: undefined reference to `ACS712::setSensitivity(float)'
C:\Users\ANC\AppData\Local\Temp\arduino_build_366907\sketch\sketch_nov01a.ino.cpp.o: In function `loop()':
C:\Users\ANC\AppData\Local\Temp\arduino_modified_sketch_764779/sketch_nov01a.ino:66: undefined reference to `ZMPT101B::getVoltageAC(unsigned short)'
C:\Users\ANC\AppData\Local\Temp\arduino_modified_sketch_764779/sketch_nov01a.ino:73: undefined reference to `ACS712::getCurrentAC(unsigned short)'
C:\Users\ANC\AppData\Local\Temp\arduino_build_366907\sketch\sketch_nov01a.ino.cpp.o: In function `_GLOBAL__sub_I_display':
C:\Users\ANC\AppData\Local\Temp\arduino_modified_sketch_764779/sketch_nov01a.ino:14: undefined reference to `ZMPT101B::ZMPT101B(unsigned char)'
C:\Users\ANC\AppData\Local\Temp\arduino_modified_sketch_764779/sketch_nov01a.ino:18: undefined reference to `ACS712::ACS712(ACS712_type, unsigned char)'
collect2.exe: error: ld returned 1 exit status
Could you give some help? I am just a beginner and I do not have enough experience dealing with this kind of error.
Best regards
Alberto