prvi prij

Dependencies:   mbed

Fork of mbed_blinky by Mbed

main.cpp

Committer:
rajko
Date:
2017-11-07
Revision:
19:6fd94dbef209
Parent:
4:81cea7a352b0

File content as of revision 19:6fd94dbef209:

#include "mbed.h"

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

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