Example Program
Dependencies: mbed
main.cpp
- Committer:
- Parthasarathy
- Date:
- 2016-03-22
- Revision:
- 2:9c1a4e061f93
- Parent:
- 1:d9e6e3d4556e
File content as of revision 2:9c1a4e061f93:
#include "mbed.h"
DigitalOut myled(LED1);
int main() {
printf("RESET");
while(1) {
myled = 1;
wait(0.2);
myled = 0;
wait(0.2);
printf("TEST");
}
}