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.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 8:baedd289a8cc
- Parent:
- 6:6fb625ef867a
- Child:
- 9:7bc670023361
--- a/main.cpp Mon May 08 15:53:01 2017 +0000 +++ b/main.cpp Fri Jul 28 13:07:13 2017 +0000 @@ -293,7 +293,9 @@ /* Infinite Loop. */ printf("--> Infinite Loop...\r\n"); - while (true) { + //while (true) { + int i; + for (i = 0; i < 2; i++) { /* Request device to go position -3200 */ motor->go_to(-3200);