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:
57:e82d4bd6b2c0
Parent:
45:067673dae242
Child:
72:1f990fa8c516
--- a/battery.h	Fri Nov 03 07:16:44 2017 +0000
+++ b/battery.h	Fri Nov 10 11:58:38 2017 +0000
@@ -1,6 +1,11 @@
 #ifndef BATTERY_H_
 #define BATTERY_H_
 
+#define  BATTERY_SCREEN_CHARGE_CONDITION                                            0
+#define  BATTERY_LOW_CHARGE_CONDITION                                               1
+#define  BATTERY_CRITICALLY_LOW_CHARGE_CONDITION                                    2
+#define  BATTERY_SCREEN_NO_CHARGE_CONDITION                                         3
+
 /*  battery_monitor()   : To Monitor Battery Voltage
     returns             : battery_condition
 
@@ -17,4 +22,4 @@
 
 uint8_t get_battery_status();
 
-#endif
\ No newline at end of file
+#endif