John Doe
/
demo_program
My blinking LEDs
Fork of demo_program by
main.cpp
- Committer:
- dan
- Date:
- 2012-06-07
- Revision:
- 6:9f428344c4ee
- Parent:
- 5:75210a3db173
- Child:
- 7:9b6915e1191c
File content as of revision 6:9f428344c4ee:
#include "mbed.h" DigitalOut myled(LED1); DigitalOut newled(LED3); DigitalOut newerled(LED4); int main() { while(1) { myled = 1; newled = 1; newerled = 1; wait(0.5); myled = 0; newled = 0; newerled = 0; wait(0.5); } }