blink the blue LED of Xadow M0

Dependencies:   mbed

Fork of mbed_blinky by Mbed

Files at this revision

API Documentation at this revision

Comitter:
yihui
Date:
Wed Jun 18 06:08:11 2014 +0000
Parent:
6:e8cd76f38fa9
Child:
8:8a41b004dd35
Commit message:
for xadow m0

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	Fri May 09 19:58:03 2014 +0300
+++ b/main.cpp	Wed Jun 18 06:08:11 2014 +0000
@@ -1,12 +1,12 @@
 #include "mbed.h"
 
-DigitalOut myled(LED1);
+DigitalOut blue_led(P0_20);
 
 int main() {
     while(1) {
-        myled = 1;
+        blue_led = 1;
         wait(0.2);
-        myled = 0;
+        blue_led = 0;
         wait(0.2);
     }
 }
--- a/mbed.bld	Fri May 09 19:58:03 2014 +0300
+++ b/mbed.bld	Wed Jun 18 06:08:11 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/024bf7f99721
\ No newline at end of file