midi device enerates tones according freedom rotation

Dependencies:   MMA8451Q USBDevice mbed TSI

Revision:
0:8e6b0e518883
Child:
1:970adc6aae96
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Jul 16 13:48:47 2013 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"
+
+DigitalOut BlueLed(LED1);
+DigitalOut GreenLed(LED2);
+DigitalOut RedLed(LED3);
+
+int main() {
+    while(1) {
+        BlueLed = 1;
+        wait(0.2);
+        BlueLed = 0;
+        wait(0.2);
+        
+        GreenLed = 1;
+        wait(0.2);
+        GreenLed = 0;
+        wait(0.2);
+        
+        RedLed = 1;
+        wait(0.2);
+        RedLed = 0;
+        wait(0.2);
+    }
+}