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:
54:f2a413d5dffd
Parent:
53:cc6e65480a67
Child:
67:7e07cdb1b150
--- a/display_modules.cpp	Wed Sep 20 11:02:08 2017 +0000
+++ b/display_modules.cpp	Wed Sep 27 09:36:26 2017 +0000
@@ -120,7 +120,7 @@
     TFT.fillrect( 10,130,100,200,GreenYellow);
     TFT.locate(38,160) ;                                                              //changed from 30 to 38 //rashmi 24/7/17            //changed from 40 to 30 //rashmi 22/7/17     
     TFT.printf("BT") ; 
-TFT.fillrect( 130,130,220,200,GreenYellow); 
+    TFT.fillrect( 130,130,220,200,GreenYellow); 
     TFT.locate(140,160) ;                               //changed from 135 to 145 //rashmi 22/7/17 //
     TFT.printf("P-Inf") ; 
    TFT.fillrect( 10,215,100,285,GreenYellow);
@@ -128,7 +128,7 @@
     TFT.printf("HOME") ;   
     
                                                                  ////changed from BLE to BT //rashmi 24/7/17
-    if ((read_debug_status()== 1) && get_timer_debug()<TIMER_ENABLE_DEBUG_MODE)     // checking for the debug status and timer 
+    if ((read_debug_status()== true) && get_timer_debug()<TIMER_ENABLE_DEBUG_MODE)     // checking for the debug status and timer 
     {
          TFT.fillrect(130,215,220,285,GreenYellow);
         TFT.locate(150,230) ;