decs

Dependencies:   storage_on_flash

main.cpp

Committer:
talhakkas
Date:
2018-05-19
Revision:
1:10322913b00f
Parent:
0:3fec541a3186
Child:
2:eb09ab8cc121

File content as of revision 1:10322913b00f:

#include "mbed.h"

DigitalOut led1(LED1);

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