Skip to content

Can't Compile #6

@kevidoplz

Description

@kevidoplz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions