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 XBee mbed-rtos
Diff: xbee6.cpp
- Revision:
- 6:d456c203adb6
- Parent:
- 5:d01cf03058f6
--- a/xbee6.cpp Thu Apr 12 10:21:11 2012 +0000 +++ b/xbee6.cpp Thu Sep 20 11:17:17 2012 +0000 @@ -7,7 +7,7 @@ printf("*** Router/End Device ***\n"); - for (int i = 0; i < 10; i++) { + for (int i = 0;; i++) { if (xbee.printf("Hello %d\n", i) > 0) printf("sent: Hello %d\n", i); else