Vadim Kusher / Mbed 2 deprecated Nucleo_blink_led

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
vadik1
Date:
Sun Oct 20 17:30:18 2019 +0000
Parent:
0:05be8bebcde5
Commit message:
ww

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Oct 20 13:12:04 2019 +0000
+++ b/main.cpp	Sun Oct 20 17:30:18 2019 +0000
@@ -2,11 +2,15 @@
 
 DigitalOut myled(LED1);
 
+
 int main() {
-    while(1) {
+    int i = 1;
+    
+    while(1) {        
         myled = 1; // LED is ON
         wait(0.2); // 200 ms
-        myled = 0; // LED is OFF
+        myled = 0; // LED is OFF   
+        
         wait(1.0); // 1 sec
     }
 }
--- a/mbed.bld	Sun Oct 20 13:12:04 2019 +0000
+++ b/mbed.bld	Sun Oct 20 17:30:18 2019 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187
\ No newline at end of file
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file