Test

Dependencies:   mbed

main.cpp

Committer:
yurindes
Date:
2018-10-17
Revision:
1:8810749b5f73
Parent:
0:e6fb1f045754

File content as of revision 1:8810749b5f73:

#include "mbed.h"

//test test test

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1; // LED is ON
        wait(0.2); // 200 ms
        myled = 0; // LED is OFF
        wait(1.0); // 1 sec
    }
}