![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
operational with OS 5
main.cpp
- Committer:
- Tyari21
- Date:
- 2018-08-23
- Revision:
- 67:f8847df1c93b
- Parent:
- 66:0a43d8aeeb76
File content as of revision 67:f8847df1c93b:
#include "mbed.h" DigitalOut led1(LED1); // main() runs in its own thread in the OS int main() { while (true) { led1 = !led1; wait(0.2); led1 = !led1; wait(0.2); } }