test publish

Dependencies:   mbed

main.cpp

Committer:
Gunn
Date:
2015-05-20
Revision:
1:cf7e478c19cc
Parent:
0:963575f3e31d

File content as of revision 1:cf7e478c19cc:

#include "mbed.h"

DigitalOut myled(LED1);

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