example

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Files at this revision

API Documentation at this revision

Comitter:
1050186
Date:
Tue Mar 28 14:16:41 2017 +0900
Parent:
32:799d19f6387a
Commit message:
test2

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 799d19f6387a -r c7cd79a8b9e2 main.cpp
--- a/main.cpp	Tue Mar 28 14:14:25 2017 +0900
+++ b/main.cpp	Tue Mar 28 14:16:41 2017 +0900
@@ -1,15 +1,12 @@
 #include "mbed.h"
 
 DigitalOut led1(LED1);
-DigitalOut led4(LED4);
 
 // main() runs in its own thread in the OS
 int main() {
     while (true) {
         led1 = !led1;
         wait(0.5);
-        led4 = !led4;
-        wait(0.5);
     }
 }