ex
Fork of mbed-os-example-mbed5-blinky by
main.cpp
- Committer:
- tmboy
- Date:
- 2017-07-17
- Revision:
- 42:025e43539b63
- Parent:
- 41:a067e5c6e281
- Child:
- 43:294225846244
File content as of revision 42:025e43539b63:
#include "mbed.h"
DigitalOut led1(LED1);
// main() runs in its own thread in the OS
int main() {
while (true) {
led1 = !led1;
wait(10);
}
}
