USBMIDI Hello World

Dependencies:   mbed USBDevice

Revision:
3:7990c80e953c
Parent:
2:4505f7d7196e
--- a/main.cpp	Fri Nov 04 11:58:57 2011 +0000
+++ b/main.cpp	Fri Nov 11 12:18:05 2011 +0000
@@ -1,17 +1,17 @@
-// Hello World example for the USBMIDI library
-
-#include "mbed.h"
-#include "USBMIDI.h"
-
-USBMIDI midi;
-
-int main() {             
-    while (1) {    
-        for(int i=48; i<83; i++) {     // send some messages!
-            midi.write(MIDIMessage::NoteOn(i));
-            wait(0.25);
-            midi.write(MIDIMessage::NoteOff(i));
-            wait(0.5);
-        }
-    }
-}
+// Hello World example for the USBMIDI library
+
+#include "mbed.h"
+#include "USBMIDI.h"
+
+USBMIDI midi;
+
+int main() {             
+    while (1) {    
+        for(int i=48; i<83; i++) {     // send some messages!
+            midi.write(MIDIMessage::NoteOn(i));
+            wait(0.25);
+            midi.write(MIDIMessage::NoteOff(i));
+            wait(0.5);
+        }
+    }
+}