Prova di fork del progetto mbed-os-example-blinky

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Test di forking

main.cpp

Committer:
Lorenzo Maiorfi
Date:
2017-08-15
Revision:
45:89aa31abd1bc
Parent:
44:92f1d5ca88f2

File content as of revision 45:89aa31abd1bc:

#include "mbed.h"

DigitalOut led1(LED1);

// main() runs in its own thread in the OS
int main() {
    while (true) {
        led1 = !led1;
        wait(0.25);
    }
}