project to test mbed-cli debugging
main.cpp
- Committer:
- bhimebau
- Date:
- 2018-08-01
- Revision:
- 0:8032d2ab060f
File content as of revision 0:8032d2ab060f:
#include "mbed.h"
DigitalOut led1(LED1);
// main() runs in its own thread in the OS
int main() {
while (true) {
led1 = !led1;
wait(0.5);
}
}