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.
Fork of rtos_basic by
Revision 7:5fec72e5c32b, committed 2015-11-10
- Comitter:
- xiscosc
- Date:
- Tue Nov 10 18:57:41 2015 +0000
- Parent:
- 6:209f4db62daf
- Commit message:
- E
Changed in this revision
--- a/main.cpp Tue Jun 04 16:01:32 2013 +0100 +++ b/main.cpp Tue Nov 10 18:57:41 2015 +0000 @@ -3,19 +3,24 @@ DigitalOut led1(LED1); DigitalOut led2(LED2); +DigitalOut led3(LED3); void led2_thread(void const *args) { while (true) { led2 = !led2; + led3 = !led3; Thread::wait(1000); } } int main() { + led1 = true; + led2 = true; + led3 = false; Thread thread(led2_thread); while (true) { led1 = !led1; - Thread::wait(500); + Thread::wait(300); } }
--- a/mbed-rtos.lib Tue Jun 04 16:01:32 2013 +0100 +++ b/mbed-rtos.lib Tue Nov 10 18:57:41 2015 +0000 @@ -1,1 +1,1 @@ -https://mbed.org/users/mbed_official/code/mbed-rtos/ \ No newline at end of file +https://mbed.org/users/mbed_official/code/mbed-rtos/#6d90423c236e
--- a/mbed.bld Tue Jun 04 16:01:32 2013 +0100 +++ b/mbed.bld Tue Nov 10 18:57:41 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/ \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/9296ab0bfc11 \ No newline at end of file