arduino multifunction car

i was using motor drive with arduino uno to work with 4 function :obstacle avoiding,bluetooth,gesture and voice control but i update to motor shield now i m in trouble to update program for motosheild in previous program

anybody please help me

program:
#include<Servo.h>
#include<SoftwareSerial.h>
#include<Wtv020sd16p.h>
#include<Ultrasonic.h>
int mA1=8;
int mA2=9;
int mB1=10;
int mB2=11;
int reset=2;
int clock=3;
int data4;
int busy=5;

int Leftlook;
int Rightlook;
int Distance;
int Voice;

// object creating for sd card
Wtv020sd16p wtv020sd16p(reset,clock,data,busy);
SoftwareSerial BT(0,1); //tx and rx pin
Ultrasonic ultrasonic(0,7); //trigger,echo

void setup()
{//MOTOR PINS AS OUTPUT
pinMode(mA1,OUTPUT)
pinMode(mA2,OUTPUT)
pinMode(mB1,OUTPUT)
pinMode(mb2,OUTPUT)

myservo.attach(12); // attach the servo to pin 12
BT.begin(9600);
Serial.begin(9600);// Start a serial communication
wtv020sd16p.reset();

servofunction();
delay(500);//delay added to make things stable
wtv020sd16p.playVoice(0);// Say hello
}

void loop(){
while (BT.available()){// Check for incoming serial data over bluetooth
delay(10);
char c=BT.read();//conduct a serial bluetooth read
voice +=c; Build the strings
}
if (voice…length()){// check data is coming
}
}

car.ino (7.43 KB)

Which motor drive? Which motor shield? What have you tried?

Post your best attempt at your program for the new motor shield setup and explain exactly what problems you are having.

Steve

SoftwareSerial BT(0,1);  //tx and rx pin

You can NOT do software serial on the hardware serial pins when you are using them for hardware serial.