Go Down

Topic: DueTimer (Read 354 times) previous topic - next topic

swarley_swarley

Oct 06, 2016, 08:17 am Last Edit: Oct 06, 2016, 08:23 am by swarley_swarley
Hello

I've downloaded the DueTimer <https://github.com/ivanseidel/DueTimer>. The Library works on the arduino Due but my Problem is the message

Code: [Select]
sketch\ALADIN_V2_0.ino.cpp.o: In function `setup':

H:\Arduino\ALADIN_AW21_126\V2.0\ALADIN_V2_0/ALADIN_V2_0.ino:21: undefined reference to `DueTimer::attachInterrupt(void (*)())'

H:\Arduino\ALADIN_AW21_126\V2.0\ALADIN_V2_0/ALADIN_V2_0.ino:21: undefined reference to `DueTimer::start(long)'

H:\Arduino\ALADIN_AW21_126\V2.0\ALADIN_V2_0/ALADIN_V2_0.ino:23: undefined reference to `Timer1'

collect2.exe: error: ld returned 1 exit status

Multiple libraries were found for "DueTimer.h"
 Used: C:\Program Files (x86)\Arduino\libraries\DueTimer
 Not used: C:\Users\reka\Documents\Arduino\libraries\DueTimer-master
exit status 1
Error compiling for board Arduino Due (Programming Port).


and this is a part of my sketch

Code: [Select]
Timer1.attachInterrupt(wave).start(1000);

can anyone help me? Thanks  :)

with Kind regards
swarley_swarley

Go Up