The example program for mbed pin-compatible platforms

Dependencies:   mbed

Fork of mbed_blinky by Mbed

main.cpp

Committer:
jimmy4399
Date:
2018-07-23
Revision:
21:0afd0513aab8
Parent:
4:81cea7a352b0

File content as of revision 21:0afd0513aab8:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}