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:e29db7517d42
- Parent:
- 1:fbc7acd77a77
- Child:
- 3:5991e7053465
--- a/main.cpp Tue Oct 10 21:00:01 2017 +0000
+++ b/main.cpp Tue Oct 10 21:14:20 2017 +0000
@@ -6,8 +6,8 @@
int main() {
bd.init();
- bd.program(block, 0);
- bd.read(block, 0);
+ bd.program(block, 0, bd.get_program_size());
+ bd.read(block, 0, bd.get_read_size());
printf("%s", block);
bd.deinit();
}
\ No newline at end of file