Contains classes which are able to change the color of a LED

Dependents:   RGB

Revision:
0:8fd12f8121c1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Police.cpp	Mon Jan 18 18:51:35 2016 +0000
@@ -0,0 +1,17 @@
+
+#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);
+    }
+}
\ No newline at end of file