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.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 25:db86df2c59d1
- Parent:
- 24:7f14b70fc9ef
- Child:
- 26:b44b5419efef
diff -r 7f14b70fc9ef -r db86df2c59d1 main.cpp
--- a/main.cpp	Mon Apr 08 11:03:25 2019 +0100
+++ b/main.cpp	Wed Jul 15 12:57:11 2020 +0000
@@ -1,12 +1,12 @@
 #include "mbed.h"
 
-DigitalOut myled(LED1);
+DigitalOut myled(PTA1);
 
 int main() {
     while(1) {
-        myled = 1;
-        wait(0.2);
-        myled = 0;
-        wait(0.2);
+        myled = 1; // led D3 allumée
+        wait(0.5);
+        myled = 0; // led D3 éteinte
+        wait(1.5);
     }
 }