created separate function for hex to char

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of SS_SensePOC2P0_11Dec2017_USERPID by rashmi v

Revision:
35:43133f017ed4
Parent:
34:8f6b0dc124e8
Child:
37:92fcbf22bf91
--- a/main.cpp	Sun Jul 23 16:50:59 2017 +0000
+++ b/main.cpp	Sat Jul 29 10:38:05 2017 +0000
@@ -335,7 +335,7 @@
                 glc(pid);        // glc measurement
              //  bt();
                 glc_flag=1;
-                wait(5); 
+                wait(1); 
                 state1=0;
                 screen_glc_2();
                  state=6;