Sumejja Porca Elma Gazetic

Dependencies:   mbed

Fork of LV1_Grupa4_Tim003 by tim003 tim003

main.cpp

Committer:
tim003
Date:
2014-03-03
Revision:
5:af6d1571373e
Parent:
4:af7001476e2c
Child:
6:fdf3ff529f4c

File content as of revision 5:af6d1571373e:

#include "mbed.h"
 
BusOut myleds(LED1, LED2, LED3);
 
int main() {
    int clrs[5] = {6,4,5,3,2};
    while(1) {
        for(int i=0; i<5; i++)
        {
            myleds = clrs[i];
            wait(2);
        }
    }
}