I am using an Arduino lenonardo and when i compile the sketch, it gives me and error:
Arduino: 1.9.0-beta (Windows 10), Board: "Arduino Leonardo"
Build options changed, rebuilding all
C:\Users\kevin\AppData\Local\Temp\ccMDCXOx.ltrans0.ltrans.o: In function `CapacitiveKey::keyUpdate(bool)':
sketch/CapacitiveKey.h:23: undefined reference to `CapacitiveSensor::capacitiveSensorRaw(unsigned char)'
C:\Users\kevin\AppData\Local\Temp\ccMDCXOx.ltrans1.ltrans.o: In function `__base_ctor ':
sketch/CapacitiveKey.h:13: undefined reference to `CapacitiveSensor::CapacitiveSensor(unsigned char, unsigned char)'
sketch/CapacitiveKey.h:13: undefined reference to `CapacitiveSensor::CapacitiveSensor(unsigned char, unsigned char)'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Leonardo.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I am using an Arduino lenonardo and when i compile the sketch, it gives me and error:
Arduino: 1.9.0-beta (Windows 10), Board: "Arduino Leonardo"
Build options changed, rebuilding all
C:\Users\kevin\AppData\Local\Temp\ccMDCXOx.ltrans0.ltrans.o: In function `CapacitiveKey::keyUpdate(bool)':
sketch/CapacitiveKey.h:23: undefined reference to `CapacitiveSensor::capacitiveSensorRaw(unsigned char)'
C:\Users\kevin\AppData\Local\Temp\ccMDCXOx.ltrans1.ltrans.o: In function `__base_ctor ':
sketch/CapacitiveKey.h:13: undefined reference to `CapacitiveSensor::CapacitiveSensor(unsigned char, unsigned char)'
sketch/CapacitiveKey.h:13: undefined reference to `CapacitiveSensor::CapacitiveSensor(unsigned char, unsigned char)'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Leonardo.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.