Just testing the foundational libraries on a STM32F103VE board
Dependencies: mbed-dev mbedtls
Diff: main.cpp
- Revision:
- 0:d7df9495f224
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Aug 20 22:16:12 2017 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +DigitalOut led1(LED1); + +// main() runs in its own thread in the OS +int main() { + + while (true) { + led1 = !led1; + wait(0.5); + } +} +