kirthiga annamalai
/
mbed_blinky
LED hello world
main.cpp
- Committer:
- kirthigaannamalai
- Date:
- 2015-01-12
- Revision:
- 2:9126c76d99ab
- Parent:
- 1:88602b1209a4
- Child:
- 3:e075f4f361c8
File content as of revision 2:9126c76d99ab:
#include "mbed.h" DigitalOut myled(LED1); DigitalOut myled2(LED2); int main() { while(1) { myled = 1; myled2=0; wait(0.2); myled = 0; myled2=1; wait(0.2); } }