Flash LED 2

// Flash an LED

#include "mbed.h"

DigitalOut myled(LED1);

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


0 comments

You need to log in to post a comment