John Doe
/
demo_program
My blinking LEDs
Fork of demo_program by
main.cpp
- Committer:
- screamer
- Date:
- 2012-06-07
- Revision:
- 4:9681c944004e
- Parent:
- 3:f16745a202c2
- Child:
- 5:75210a3db173
File content as of revision 4:9681c944004e:
#include "mbed.h" DigitalOut myled(LED2); DigitalOut newled(LED3); DigitalOut newerled(LED4); int main() { while(1) { myled = 1; newled = 1; newerled = 1; wait(0.2); myled = 0; newled = 0; newerled = 0; wait(0.2); } }