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:
68:41da0a3ba038
Parent:
67:7e07cdb1b150
Child:
69:128e3b467820
--- a/bt.cpp	Mon Nov 20 12:23:52 2017 +0000
+++ b/bt.cpp	Tue Nov 21 12:47:03 2017 +0000
@@ -603,17 +603,7 @@
     return;
 }    
 
-void set_userpid(char *user_pid)
-{
-    //char user_pid_buffer[10] = {0};
-    if (mc.readable()!= '\n')                                                   // reading string from putty
-    //if (blue.readable()!= NULL)                                               // reading string from bluetooth
-    {                                                         
-        //blue.scanf("%10s",user_pid);
-        mc.scanf("%10s",user_pid);
-              
-    }  
-}
+