ave

Dependencies:   QEI TextLCD mbed

start_led.cpp

Committer:
com3
Date:
2013-10-17
Revision:
0:3fd90568b788

File content as of revision 0:3fd90568b788:

#include "mbed.h"

BusOut myleds(LED1, LED2, LED3, LED4);

void start_led()
{
    myleds = 0x08;
    wait(1);
    myleds = 0x04;
    wait(1);
    myleds = 0x02;
    wait(1);
    myleds = 0x01;
    wait(1);
    myleds = 0;
}