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:
8:adf2ba7e6412
Parent:
7:11f926351d8f
--- a/main.cpp	Wed Apr 26 10:14:53 2017 +0000
+++ b/main.cpp	Fri Apr 28 10:05:29 2017 +0000
@@ -264,7 +264,7 @@
                 DisableTouch();
                 screen_bp2();      // bp main screen
                 bp_countdown();    // countdown for bp 
-                bp();              // measuring bp   
+                bp(pid);              // measuring bp   earlier bp() changed to bp(pid) 28/4/2017
                 state1=0;
                // wait(1);
                 state=6;