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.
main.cpp
- Committer:
- Seppo Takalo
- Date:
- 2016-07-25
- Revision:
- 0:bde1843b9885
- Child:
- 1:24cff46332de
File content as of revision 0:bde1843b9885:
#include "mbed.h" #include "rtos.h" #include "NanostackInterface.h" LoWPANNDInterface mesh; Serial output(USBTX, USBRX); int main() { output.baud(115200); output.printf("\r\n\r\nConnecting...\r\n"); if (mesh.connect()) { output.printf("Connection failed!\r\n"); return -1; } output.printf("connected. IP = %s\r\n", mesh.get_ip_address()); }