mbed-os-example-blinky for ST B-L475E-IOT01A board.
main.cpp
- Committer:
- sorayut
- Date:
- 2019-11-28
- Revision:
- 0:2611c221737b
File content as of revision 0:2611c221737b:
#include "mbed.h"
DigitalOut led1(LED1);
// main() runs in its own thread in the OS
int main() {
while (true) {
led1 = !led1;
wait(0.5);
}
}