is there something wrong with this program

this is the program for my project its if the motors rpm is higher than 20 per sec then it will play an audio file,the arduino ide says that it has error compiling can someone pls tell me if something is wrong with my code thank u

#include "TimerOne.h"

#include <SD.h>
#include <TMRpcm.h>
#define SD_ChipSelectPin 4

TMRpcm tmrpcm;
unsigned int counter = 0;

void docount()
{
counter++;
}

void timerIsr()
{
Timer1.detachInterrupt();
Serial.print("Motor Speed: ");
int rotation = (counter / 1);
Serial.print(rotation, DEC);
if (rotation > 20) {
if (!SD.begin(SD_ChipSelectPin)) {
return;
}
else {
tmrpcm.play("1.wav");

}
}
Serial.println(" Rotation per seconds");
counter = 0;
Timer1.attachInterrupt( timerIsr );

}

void setup()
{
tmrpcm.setVolume(5);
Timer1.initialize(1000000);
attachInterrupt(0, docount, RISING);
Timer1.attachInterrupt( timerIsr );
}

void loop()
{

}

here,s the error message

Arduino: 1.8.2 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Users\bocs\Documents\Arduino\sketch_aug19a\sketch_aug19a.ino: In function 'void timerIsr()':

C:\Users\bocs\Documents\Arduino\sketch_aug19a\sketch_aug19a.ino:28:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

tmrpcm.play("1.wav");

^

libraries\TMRpcm-master\TMRpcm.cpp.o (symbol from plugin): In function `sFile':

(.text+0x0): multiple definition of `__vector_13'

libraries\TimerOne-r11\TimerOne.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Please use code tags (</> button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. If your browser doesn't show the posting toolbar then you can just manually add the code tags:
[code]``[color=blue]// your code is here[/color]``[/code]
Using code tags and other important information is explained in the How to use this forum post. Please read it.

Please always do a Tools > Auto Format on your code before posting it. This will make it easier for you to spot bugs and make it easier for us to read. If you're using the Arduino Web Editor you will not have access to this useful tool but it's still unacceptable to post poorly formatted code. I recommend you to use the standard IDE instead.

When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar).

Yep, there is something wrong with that program :wink: And the compiler tells you what 8)

You have an interrupt conflict that you need to solve. No experience with the libraries that you are using, so can't advise further. There something like TimerTwo.h; might solve your problem.

PS
This actually belongs in the programming section.