lab eeprom

Dependencies:   eeprom mbed

Fork of Nucleo_eeprom by FRA221_2016

Revision:
2:27acee628363
Parent:
1:8b005d040c91
Child:
3:8d9d440c1a2c
--- a/main.cpp	Tue Aug 25 12:02:49 2015 +0000
+++ b/main.cpp	Tue Aug 25 12:06:56 2015 +0000
@@ -19,4 +19,9 @@
     memory.read(10,x);
     printf("float = %f\n",x);
     
+    int16_t y=16200,z;
+    memory.write(1,y);
+    memory.read(1,z);
+    printf("int16 =%d\n",z);
+    
 }
\ No newline at end of file