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:
- 27:a0daec0cec64
- Parent:
- 25:2bd120bb7a2b
- Child:
- 28:f1e7e7d7959f
--- a/main.cpp Tue Sep 08 13:05:28 2020 +0000
+++ b/main.cpp Tue Sep 08 13:24:03 2020 +0000
@@ -1,12 +1,12 @@
-#include "mbed.h"
+#include "mbed.h"://inclure bibliotheque mbed
-DigitalOut myled(LED1);
+DigitalOut myled(LED3);// selection de la led
-int main() {
- while(1) {
- myled = 1;
- wait(0.2);
- myled = 0;
- wait(0.3);
+int main() {//intrégres fonction
+ while(1) {//debut de la boucle
+ myled = 1;//led eteinte
+ wait(0.3);//temporisation
+ myled = 0;//Led allume
+ wait(0.1);//temporisation
}
}