![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
testing n-Bed
Diff: main.cpp
- Revision:
- 0:627f756946dc
- Child:
- 1:b03cefe796b3
diff -r 000000000000 -r 627f756946dc main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Mar 23 20:11:46 2015 +0000 @@ -0,0 +1,20 @@ +// n-bed test: Blink LPC11U35 + +#include "mbed.h" + +DigitalOut myled(LED1); +DigitalOut myled2(LED2); +DigitalOut myled3(p15); + +int main() { + while(1) { + myled = 1; + myled2 = 1; + myled3 = 1; + wait(0.2); + myled = 0; + myled2 = 0; + myled3 = 0; + wait(0.2); + } +}