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