The example program for mbed pin-compatible platforms

main.cpp

Committer:
thuctoro
Date:
2019-10-25
Revision:
25:3ff5eb892e97
Parent:
24:7f14b70fc9ef

File content as of revision 25:3ff5eb892e97:

#include "mbed.h"

DigitalOut myled(LED3);


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