RGB_BERTL

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Alexander400
Date:
Thu Apr 30 11:47:38 2015 +0000
Commit message:
RGB_BERTL;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
ur_Bertl.lib Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Apr 30 11:47:38 2015 +0000
@@ -0,0 +1,28 @@
+#include "mbed.h"
+#include "ur_Bertl.h"
+
+void RGBLed(bool red, bool green, bool blue);
+
+int main() {
+    
+    ur_Bertl karel;
+    
+    while(1){  
+        karel.RGBLed(1,0,0);  
+        wait_ms(500);
+        karel.RGBLed(0,1,0);   
+        wait_ms(500);
+        karel.RGBLed(0,0,1);  
+        wait_ms(500);
+        
+        karel.RGBLed(1,1,0);   
+        wait_ms(500);
+        karel.RGBLed(0,1,1);   
+        wait_ms(500);
+        karel.RGBLed(1,1,1);   
+        wait_ms(500);
+        karel.RGBLed(1,0,1);    
+        wait_ms(500);          
+    }
+} 
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Apr 30 11:47:38 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/8ab26030e058
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ur_Bertl.lib	Thu Apr 30 11:47:38 2015 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/BERTL_CHEL_18/code/ur_Bertl/#155ce3832f01