rger

Dependencies:   mbed

Revision:
0:a50960b2f6bd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solenoc.cpp	Tue Dec 08 12:23:46 2015 +0000
@@ -0,0 +1,24 @@
+#include "Solenoc.h"
+
+DigitalOut myled(LED1);
+DigitalOut SOL1(p25);
+
+int LENGTH_OF_SONG = 19;
+
+void playSong(Song thissong){
+
+    for(int i = 0; i < LENGTH_OF_SONG; i++){
+        thissong.getNote(i);
+        thissong.getLength(i);
+    }
+}
+
+int main() {
+
+    Song newSong("./dummyFile.txt");
+    
+    HardwareControl controller;
+    
+    playSong(newSong);
+    
+}
\ No newline at end of file