TMRpcm speakerPin problem

Hello,Guys.
So I downloaded the TMRpcm library to make my robot talk with a speaker, But when I set the speakerPin = A0 the speaker doesnt work. And when I set it to 9 the speaker works. Code:

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

TMRpcm tmrpcm; 

void setup(){

  tmrpcm.speakerPin = A0; 

  Serial.begin(9600);
  if (!SD.begin(SD_ChipSelectPin)) { 
    Serial.println("SD fail");  
    return;  
  }
  tmrpcm.setVolume (5);
  tmrpcm.play("TMFMM.wav"); 
}

void loop(){  }

So, use pin 9.
What's the problem?

Or you could try using pinmode() to set what is normally an analog input pin A0 as a digital output and see if that changes anything.

Steve

I don't think pinMode can make a non-timer pin into a timer pin.

AWOL:
So, use pin 9.
What's the problem?

The problem is I have four dc motors connected from pin 2 to pin 9 so I want that speakerPin on pin A0
And I have another question: I have four 6v dc motors so will they burn if you connect to them 11.1v (3x UltraFire batteries) ?

Hardizzer:
The problem is I have four dc motors connected from pin 2 to pin 9 so I want that speakerPin on pin A0
And I have another question: I have four 6v dc motors so will they burn if you connect to them 11.1v (3x UltraFire batteries) ?

#include <TMRpcm.h>

even the examples provided in their github point out something about the timer pins:

 tmrpcm.speakerPin = 9; //5,6,11 or 46 on Mega, 9 on Uno, Nano, etc

BulldogLowell:

#include <TMRpcm.h>

even the examples provided in their github point out something about the timer pins:

 tmrpcm.speakerPin = 9; //5,6,11 or 46 on Mega, 9 on Uno, Nano, etc

So, I cant set the speakerPin to A0 ?

AWOL:
I don't think pinMode can make a non-timer pin into a timer pin.

BulldogLowell:

 tmrpcm.speakerPin = 9; //5,6,11 or 46 on Mega, 9 on Uno, Nano, etc

Magic8Ball:
Outlook not so good

did you try it on Pin9?