Takumi Okamoto
/
my_mbed_cli_pg
my cli test
main.cpp
- Committer:
- MrBearing
- Date:
- 2016-09-17
- Revision:
- 1:db8a88f5182b
- Parent:
- 0:be7062dba746
File content as of revision 1:db8a88f5182b:
#include "mbed.h" DigitalOut led1(LED2); // 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(500); } }