![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
The example program for mbed pin-compatible platforms - Blink the LED's alternately.
Fork of mbed_blinky by
main.cpp
- Committer:
- mja054
- Date:
- 2014-01-31
- Revision:
- 1:f54cf65a063e
- Parent:
- 0:7dec7e9ac085
- Child:
- 2:e73b698f2566
File content as of revision 1:f54cf65a063e:
#include "mbed.h" DigitalOut green(LED1); DigitalOut red(LED2); int main() { while(1) { red = 1; green = 0; wait(0.2); red = 0; green = 1; wait(0.2); } }