RGB LED chika chika

Dependencies:   mbed

Fork of mbed_LED_chika by shinichi satoh

main.cpp

Committer:
stevep
Date:
2014-03-18
Revision:
3:2e347c65be00
Parent:
2:c30dc3ae7426
Child:
4:81cea7a352b0

File content as of revision 3:2e347c65be00:

#include "mbed.h"

DigitalOut myled(LED1);

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