xxx

Dependencies:   mbed

main.cpp

Committer:
sajjadathar
Date:
2018-02-20
Revision:
1:bb1ab65c423b
Parent:
0:3b758e1149dd

File content as of revision 1:bb1ab65c423b:

#include "mbed.h"

DigitalOut myled1(LED1);
DigitalOut myled2(LED2);

int main() {
    while(1) {
        myled1 = 1;
        myled2 = 2;
        wait(0.2);
        myled1 = 0;
        myled2 = 0;
        wait(0.2);
    }
}