Lauflicht led 1-4

Dependencies:   mbed

Lauflicht.cpp

Committer:
SebiStr99
Date:
2015-03-05
Revision:
1:201c99e74ae0
Parent:
0:11c4ec07937f

File content as of revision 1:201c99e74ae0:

#include "mbed.h"

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

int main ()
{
    bool change = 1;
    
    while (1)
    {
        if(change)
        {
            led = 0x03;
        }
        else
        {
         led = 0x0c;
        }
     
     change = !change;
     waitms(500);

    }    
    
    
    
    
}