publish con commit

Dependencies:   mbed

Ciao ciao bello bello

/media/uploads/lucamiari/corso_st.txt

main.cpp

Committer:
lucamiari
Date:
2017-01-13
Revision:
0:f2c16d5d42f0
Child:
1:b753d93bb3bc

File content as of revision 0:f2c16d5d42f0:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1; // LED is ON
        wait(0.2); // 200 ms
        myled = 0; // LED is OFF
        wait(1.0); // 1 sec
    }
}