
lab eeprom
Fork of Nucleo_eeprom by
Revision 1:8b005d040c91, committed 2015-08-25
- Comitter:
- soulx
- Date:
- Tue Aug 25 12:02:49 2015 +0000
- Parent:
- 0:8b5e53600ba0
- Child:
- 2:27acee628363
- Commit message:
- edit add float
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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