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.
Revision 0:2d562b246a88, committed 2018-10-02
- Comitter:
- symo0921
- Date:
- Tue Oct 02 09:37:14 2018 +0000
- Child:
- 1:3dc76cd598b0
- Commit message:
- 11111111
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue Oct 02 09:37:14 2018 +0000
@@ -0,0 +1,22 @@
+#include "mbed.h"
+
+DigitalOut led1(LED1);
+DigitalOut led2(LED2);
+Thread thread;
+
+void led2_thread() {
+ while (true) {
+ led2 = !led2;
+ wait(1);
+ }
+}
+
+int main() {
+ thread.start(led2_thread);
+
+ while (true) {
+ led1 = !led1;
+ wait(0.5);
+ }
+}
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Tue Oct 02 09:37:14 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/bLandais/code/mbed-os/#4c0e0edd4545
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Oct 02 09:37:14 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187 \ No newline at end of file