Fork of https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-blinky/
Dependencies: mbed
main.cpp
- Committer:
- c_jin
- Date:
- 2019-02-18
- Revision:
- 1:29e02022a032
- Parent:
- 0:49059b431b51
File content as of revision 1:29e02022a032:
#include "mbed.h" DigitalOut led1(LED1); // main() runs in its own thread in the OS int main() { while (true) { led1 = !led1; wait(0.5); } }