Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 2:27acee628363
- Parent:
- 1:8b005d040c91
- Child:
- 3:8d9d440c1a2c
diff -r 8b005d040c91 -r 27acee628363 main.cpp
--- 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