j

Dependencies:   mbed yeswecancoap C12832 LM75B

lib/Police.cpp

Committer:
arnedesmet
Date:
2015-10-23
Revision:
1:92958e26bf2e
Parent:
0:92d2ef9f009d

File content as of revision 1:92958e26bf2e:


#include "Police.h"

Police::Police(RGB* led)
    :Effect(led){
    
}

void Police::run(){
    while(1){
    RGB* led = new RGB(p23,p24,p25);
    led->setColor(Color::RED);
    wait_ms(500);
    led->setColor(Color::BLUE);
    wait_ms(500);
    }
}