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:
- 6:06a897d0f950
- Parent:
- 5:58fe518111d7
- Child:
- 7:94dccd29cac9
diff -r 58fe518111d7 -r 06a897d0f950 main.cpp --- a/main.cpp Sat May 09 11:17:48 2020 +0000 +++ b/main.cpp Fri Nov 26 17:47:31 2021 +0000 @@ -1,4 +1,4 @@ -#include "mbed.h" //MbedOS 5.15 +#include "mbed.h" //MbedOS 6.15 #include "NetworkInterface.h" #define BUFFSIZE 50 @@ -81,10 +81,10 @@ int main() { printf("UDP echo starting...\n"); thread.start(callback(udpEcho)); - ThisThread::sleep_for(1000); + ThisThread::sleep_for(1s); while(1) { led1 =! led1; - ThisThread::sleep_for(1000); + ThisThread::sleep_for(1s); } } \ No newline at end of file