John Chaparro / Mbed 2 deprecated Nucleo_blink_led_Capa

Dependencies:   mbed

Fork of Nucleo_blink_led_Capa by Felícito Manzano

main.cpp

Committer:
fmanzano_dtk
Date:
2018-07-26
Revision:
0:063bbe0f16d0
Child:
1:14f963b2716e

File content as of revision 0:063bbe0f16d0:

// Ya está editado

#include "mbed.h"

DigitalOut myled(LED1);

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