Fix all the following issues which we faced during 01st April internal demo 1) Display hang and jump issue 2) Sequencing issue 3) Issue with BP code

Dependencies:   SDFileSystem ds3231 program mbed testUniGraphic_150217

Fork of Int_Demo_01Apr2017_newdisplaycode_bp_nikita by nikita teggi

Revision:
12:ab85607bb10a
Parent:
11:9a6545c2eb5d
--- a/touch_modules.cpp	Wed May 03 08:49:30 2017 +0000
+++ b/touch_modules.cpp	Mon May 08 05:19:22 2017 +0000
@@ -56,7 +56,7 @@
                           state=2;
                         }
     
-                 else if ( ((xt >=70) && (xt<=170)) && ( (yt>=80) && (yt<=140) ) ) // test
+                 else if ( ((xt >=70) && (xt<=170)) && ( (yt>=70) && (yt<=140) ) ) // test
                       {
                            state=3;
                  }   
@@ -150,7 +150,7 @@
                           state=8;
                         }
     
-                 else if ( ((xt >=70) && (xt<=170)) && ( (yt>=90) && (yt<=140) ) ) // RETURN
+                 else if ( ((xt >=70) && (xt<=170)) && ( (yt>=70) && (yt<=140) ) ) // RETURN
                       {
                           state=3;
                  } 
@@ -167,7 +167,7 @@
       unsigned char state;
                  
     
-            if ( ((xt >=70) && (xt<=170)) && ( (yt>=85) && (yt<=140) ) ) // press on return box
+            if ( ((xt >=70) && (xt<=170)) && ( (yt>=70) && (yt<=140) ) ) // press on return box
                       {
                            state=3;
                  } 
@@ -190,7 +190,7 @@
                           state=9;
                         }
     
-                 else if ( ((xt >=70) && (xt<=170)) && ( (yt>=90) && (yt<=140) ) ) // RETURN
+                 else if ( ((xt >=70) && (xt<=170)) && ( (yt>=70) && (yt<=140) ) ) // RETURN
                       {
                           state=3;
                  } 
@@ -212,7 +212,7 @@
                           state=7;
                         }
     
-                 else if ( ((xt >=70) && (xt<=170)) && ( (yt>=85) && (yt<=140) ) ) // RETURN
+                 else if ( ((xt >=70) && (xt<=170)) && ( (yt>=70) && (yt<=140) ) ) // RETURN
                       {
                            state=3;
                  }