led blinky example

Dependencies:   mbed

Fork of mbed_blinky_3 by richard misi

main.cpp

Committer:
RCMISbed
Date:
2018-08-25
Revision:
2:16a42f4b1a64
Parent:
1:147c352ea3f6

File content as of revision 2:16a42f4b1a64:

#include "mbed.h"

DigitalOut myled(LED3);

// Main loop
int main() {
    while(1) {
        myled = 1;
        wait(0.05);
        myled = 0;
        wait(0.9);
    }
}