Low cost remote controlled Airship with bluetooth app

hey guys this is ashish from india actually we r working on a project on RC Airship and using servo and hc-05 with arduino mini via Bluetooth application but the motors are not running with the bluetooth app this is the code can anyone please guide us...because this is our engineering project...

#include <SoftwareSerial.h>

#include <Servo.h>
Servo myservo1, myservo2, myservo3;

int bluetoothTx = 1;
int bluetoothRx = 0;

SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);

void setup()
{
myservo1.attach(9);
myservo2.attach(10);
myservo3.attach(11);

//Setup usb serial connection to computer
Serial.begin(9600);

//Setup Bluetooth serial connection to android
bluetooth.begin(9600);
}

void loop()
{
//Read from bluetooth and write to usb serial
if(bluetooth.available()>= 2 )
{
unsigned int servopos = bluetooth.read();
unsigned int servopos1 = bluetooth.read();
unsigned int realservo = (servopos1 *256) + servopos;
Serial.println(realservo);

if (realservo >= 1000 && realservo <1360){
int servo1 = realservo;
servo1 = map(servo1, 1000,1360,0,360);
myservo1.write(servo1);
Serial.println("servo 1 ON");
delay(10);

}

if (realservo >=1000 && realservo <1360){
int servo2 = realservo;
servo2 = map(servo2,1000,1360,0,360);
myservo2.write(servo2);
Serial.println("servo 2 On");
delay(10);

}

if (realservo >=1000 && realservo < 1360){
int servo3 = realservo;
servo3 = map(servo3, 1000,1360,0,360);
myservo3.write(servo3);
Serial.println("servo 3 On");
delay(10);
}

}

}

Looks to me that you have software serial running on the same pins as hardware serial.

What do all your debug prints tell you?

int servo3 = realservo;
      servo3 = map(servo3, 1000,1360,0,360);

unless you're getting paid by the line, doesn'tint servo3 = map(realservo, 1000, 1360, 0, 360); make more sense?
(It may be instructive to read the source of the Servo.write method)

Thank awol

The fact is this code is not working at all...and I m stuck..
I m beginner and I have just study and merge 2 and 3 codes which I found working with the single componts(servo,hc-05)
So pls tell me...what should I remove and add to work this proper....

Have another read of reply #2