blink the blue LED of Xadow M0
Dependencies: mbed
Fork of mbed_blinky by
main.cpp
- Committer:
- yihui
- Date:
- 2014-08-20
- Revision:
- 8:8a41b004dd35
- Parent:
- 7:6acc714a143b
File content as of revision 8:8a41b004dd35:
#include "mbed.h" DigitalOut blue_led(P0_20); int main() { while(1) { blue_led = 1; wait(0.2); blue_led = 0; wait(0.2); } }