Fix all the following issues which we faced during 01st April internal demo 1) Display hang and jump issue 2) Sequencing issue 3) Issue with BP code

Dependencies:   SDFileSystem ds3231 program mbed testUniGraphic_150217

Fork of Int_Demo_01Apr2017_newdisplaycode_bp_nikita by nikita teggi

Revision:
4:6bd81bb1790d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eeprom_pgm.cpp	Wed Mar 01 18:49:33 2017 +0000
@@ -0,0 +1,27 @@
+#include "mbed.h"
+#include "eeprom.h"
+#include "eeprom_pgm.h"
+
+#include <stdio.h> 
+Serial ec(USBTX, USBRX); // tx, rx
+EEPROM rom(PTC11, PTC10, 0x00, EEPROM::T24C32);
+ 
+ 
+ 
+
+void eprom_write(uint32_t address, int8_t data) 
+{
+    rom.write(address ,data);           // write data into the address
+ 
+}
+
+
+
+
+int eprom_read(uint32_t address)       // readng the data from the specified address
+{
+    int8_t rdata;
+    rom.read(address, rdata);        
+    ec.printf("Read back value=%u\n", rdata);  
+    return rdata;
+}
\ No newline at end of file