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
00001 // Example 9.9 00002 00003 #include "mbed.h" 00004 #include "rtos.h" 00005 00006 void fun_1(void const *args) { 00007 while (true) { 00008 printf("Thread 1 ... ... \n\r"); 00009 Thread::wait(200); 00010 } 00011 } 00012 00013 int main() { 00014 Thread thread(fun_1); 00015 00016 while (true) { 00017 printf("Main Loop Thread ... ... \n\r"); 00018 Thread::wait(100); 00019 } 00020 }
Generated on Sat Aug 20 2022 17:55:12 by
1.7.2