bowen liu
/
mbed-os-example-blinky
ex
Fork of mbed-os-example-mbed5-blinky by
main.cpp
- Committer:
- TMBOY
- Date:
- 2017-07-18
- Revision:
- 46:183cfc59d4e4
- Parent:
- 43:294225846244
- Child:
- 48:c7ee67edcf1d
File content as of revision 46:183cfc59d4e4:
#include "mbed.h" DigitalOut led1(LED1); // main() runs in its own thread in the OS int main() { while (true) { led1 = !led1; wait(1); } }