voor rian

Dependencies:   mbed

Revision:
0:ff4d23667e75
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Oct 23 08:36:18 2015 +0000
@@ -0,0 +1,17 @@
+#include "rgb.h"
+
+Rgb* rgb;
+
+int main() {
+    Rgb* rgb = new Rgb(p23, p24, p25);
+    while(1) {
+    
+        rgb->setColor(0,0,255);
+        wait_ms(1000);
+        rgb->setColor(255,0,0);
+        wait_ms(1000);
+        rgb->setColor(0,255,0);
+        wait_ms(1000);
+        //delay(1000);
+    }
+}
\ No newline at end of file