sonar sensor is working in the version of code but the reading are not correct

Dependencies:   C12832 Pulse RangeFinder Servo mbed rtos

Fork of Team_Sprint2 by WIT_EmbOS_Gr1

Revision:
6:dc51d320b369
Parent:
5:4354b585dcab
--- a/main.cpp	Fri Mar 13 22:51:36 2015 +0000
+++ b/main.cpp	Sat Mar 14 15:57:23 2015 +0000
@@ -8,6 +8,8 @@
 Mutex mutexIn;
 Mutex mutexOut;
 
+/* Modification changes based on http://lampbotics.blogspot.ie/2015/03/basic-serial-data.html */
+
 // Globel variables
 float corHoriz, corVert, outVert, outHoriz;
 C12832 lcd(p5, p7, p6, p8, p11);// lcd is an object from class c12832 initialised by p5,p7....