Hello,
i am trying to use the EnableInterrupt library in the custom class
but i got the error
when i just write the #include <EnableInterrupt.h> in the custom class header
file then i got this big error.
Timer_interupt.cpp.o: In function `enableInterrupt(unsigned char, void (*)(), unsigned char)':
C:\Users\Atif\Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: multiple definition of `enableInterrupt(unsigned char, void (*)(), unsigned char)'
cMotor.cpp.o:C:\Users\Atif\Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: first defined here
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.8.1/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
Timer_interupt.cpp.o: In function `enableInterrupt(unsigned char, void (*)(), unsigned char)':
C:\Users\Atif\Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: multiple definition of `risingPinsPORTB'
cMotor.cpp.o:C:\Users\Atif\Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: first defined here
Timer_interupt.cpp.o: In function `enableInterrupt(unsigned char, void (*)(), unsigned char)':
C:\Users\Atif\Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: multiple definition of `risingPinsPORTJ'
this error was big but i put the first half part
Thank You