sato man
/
led_test
LED hello world
main.cpp
- Committer:
- sato3183
- Date:
- 2014-05-05
- Revision:
- 1:7c9c5f576ef8
- Parent:
- 0:74b92ef15b5b
File content as of revision 1:7c9c5f576ef8:
#include "mbed.h" DigitalOut myled(LED1); DigitalOut myled2(LED2); int main() { while(1) { myled = 1; myled2 = 0; wait(0.5); myled = 0; myled2 = 1; wait(0.5); } }