lab eeprom

Dependencies:   eeprom mbed

Fork of Nucleo_eeprom by FRA221_2016

Revision:
1:8b005d040c91
Parent:
0:8b5e53600ba0
Child:
2:27acee628363
--- a/main.cpp	Tue Aug 25 11:59:57 2015 +0000
+++ b/main.cpp	Tue Aug 25 12:02:49 2015 +0000
@@ -14,4 +14,9 @@
     printf("read[1] = %c\n",data[0]);
     printf("read[2] = %c\n",data[1]);
     
+    float x=0.0f;
+    memory.write(10,1.23f);
+    memory.read(10,x);
+    printf("float = %f\n",x);
+    
 }
\ No newline at end of file