Controle P de atuador de marcha lenta

Dependencies:   mbed

main.cpp

Committer:
mbed_official
Date:
2013-02-13
Revision:
0:b5a9e0614efd
Child:
2:aee0cbc8b7dd

File content as of revision 0:b5a9e0614efd:

#include "mbed.h"

DigitalOut myled(LED1);

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