Sending data to bluetooth

Hi all,

So im having problems sending data to my bluetooth HC-05, the code works as it should but no matter what i try it wont send the information to my app via bluetooth. the project is an ultrasonic sensor measuring distance and when it reaches 10cm i want it to send the measurement to my app i have got the code to acknowledge the fact its reached 10cm but for some reason it wont send it to my app. any help would be gratefully appreciated.

#include <SoftwareSerial.h>
String readString;
SoftwareSerial BT(10, 9); // RX, TX

// defines pins numbers
const int trigPin = 7;
const int echoPin = 8;
// defines variables
long duration;
int distance;
void setup() {
pinMode(trigPin, OUTPUT); // Sets the trigPin as an Output
pinMode(echoPin, INPUT); // Sets the echoPin as an Input
Serial.begin(9600); // Starts the serial communication

void loop() {

// Clears the trigPin
digitalWrite(trigPin, LOW);
// Sets the trigPin on HIGH state for 10 micro seconds
digitalWrite(trigPin, HIGH);
digitalWrite(trigPin, LOW);
// Reads the echoPin, returns the sound wave travel time in microseconds
duration = pulseIn(echoPin, HIGH);
// Calculating the distance
distance= duration*0.034/2;
// Prints the distance on the Serial Monitor


if (distance == 10){


Your sketch is working alright in my following setup:
MEGA + HC05 + Phone with distance = 10 (I don't own the sensor). Check that your sensor is working.

Yup the sensor was buggered, it just goes to show you over look the obvious when your stressing about the code, thank you for your help mate.