Pelissier_Riziki / Mbed 2 deprecated Miniprojet

Dependencies:   mbed

Revision:
26:c75cce78a6a5
Parent:
25:fcc097300033
Child:
27:759f79bf1765
diff -r fcc097300033 -r c75cce78a6a5 main.cpp
--- a/main.cpp	Wed Sep 02 15:02:54 2020 +0000
+++ b/main.cpp	Tue Sep 08 12:34:50 2020 +0000
@@ -1,12 +1,12 @@
 #include "mbed.h"                // c'est la bibliothèque 
 
-DigitalOut myled(D3);
+DigitalOut myled(LED1);
 
 int main() {
     while(1) {                   // c'est la boucle 
         myled = 1;              //  my led = 1
-        wait(0.5);              // c'est la temporisation = 0.5
+        wait(0.2);              // c'est la temporisation 
         myled = 0;              // my led= 0
-        wait(1.5);              // c'est la temporisation = 1.5
+        wait(1);              // c'est la temporisation
     }
 }