Proyecto prueba

Dependencies:   mbed

Fork of p2181018 by El_clan_zoncillo

main.cpp

Committer:
freind00
Date:
2018-10-18
Revision:
1:01a57c19e8ac
Parent:
0:76ce24d75200

File content as of revision 1:01a57c19e8ac:

#include "mbed.h"

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
        javiiiii
    }
}