Go Down

Topic: inMoov Servo + SimpleSDAudio library  (Read 210 times) previous topic - next topic

etka321123

hi everybody now iam making inmoov and i have a question about somethings.
i wrote my code but i am getting this error ;

/Users/etkabsm/Desktop/denememultitas/denememultitas.ino: In function 'void setup()':
/Users/etkabsm/Desktop/denememultitas/denememultitas.ino:20:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   if(!SdPlay.setFile("ses2.wav"))
                                ^
libraries/Servo/avr/Servo.cpp.o (symbol from plugin): In function `ServoCount':
(.text+0x0): multiple definition of `__vector_11'
libraries/SimpleSDAudio/SimpleSDAudio.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.

i think this error is timer overlap, my friend said change with arduino mega

What do you think about this ?
(i added that code)

PaulS

Quote
i think this error is timer overlap
Yes.

Quote
my friend said change with arduino mega
Unless that causes SimpleSDAudio to use a different timer, that was useless advice.

Quote
What do you think about this ?
I think that there was probably a good reason for ServoTimer2 to have been written.
The art of getting good answers lies in asking good questions.

Go Up