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:
34:8f6b0dc124e8
Parent:
31:0f67acfc6236
Child:
39:69b09bd87502
--- a/glc.cpp	Tue Jul 18 04:15:30 2017 +0000
+++ b/glc.cpp	Sun Jul 23 16:50:59 2017 +0000
@@ -435,13 +435,8 @@
   else if(err==1 || mgdl>200 || mgdl<40)      // added threshold to check value out of range   
     {  
          gtc.printf("replace teststip"); 
+         glc_error(); //disaply for showing error//10/7/17//nikita
     }  
 
 
- }   
-
-
-
-    
-
-
+ }
\ No newline at end of file