Hello World program using the mbed library sources
main.cpp
- Committer:
- emilmont
- Date:
- 2013-06-14
- Revision:
- 1:42e1ebbd4775
- Parent:
- 0:025eafdfcf59
File content as of revision 1:42e1ebbd4775:
#include "mbed.h"
DigitalOut myled(LED1);
int main() {
while(1) {
myled = 1;
wait(0.2);
myled = 0;
wait(0.2);
}
}
mbed official