toshihiro kuramata
/
mbed-os-example-blinky
first publish
Fork of mbed-os-example-mbed5-blinky by
main.cpp
- Committer:
- toshikura0225
- Date:
- 2016-08-10
- Revision:
- 9:65a585199f74
- Parent:
- 8:bb09890333fe
File content as of revision 9:65a585199f74:
#include "mbed.h" DigitalOut led1(LED1); // main() runs in its own thread in the OS // (note the calls to Thread::wait below for delays) int main() { while (true) { led1 = !led1; Thread::wait(50); } }