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:
- 0:1423c2c0e1c5
diff -r 000000000000 -r 1423c2c0e1c5 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Feb 13 10:01:48 2011 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+
+PwmOut myled(LED1);
+DigitalOut myled2(LED2);
+
+int main() {
+    unsigned int a;
+    for(a=0;a<=9999;a++) {
+        myled = 1;
+        myled2=0;
+        wait(a*0.001);
+        myled = 0.1;
+        myled2=1;
+        wait(a*0.001);
+    }
+    while(1){}
+}