play songs

Dependencies:   mbed

Revision:
5:7003c9f6d633
Parent:
4:02dc2ab8eabb
Child:
6:406f73a0eb49
--- a/main.cpp	Mon May 16 18:34:03 2016 +0000
+++ b/main.cpp	Mon May 16 18:42:29 2016 +0000
@@ -3,7 +3,7 @@
 
 PwmOut buzzer(D3);                   // our buzzer is a PWM output (pulse-width modulation)
 
-static int BPM = 120;
+static int BPM = 80;
 
 static void silence() {
     buzzer.write(0.0f); // silence!
@@ -19,7 +19,7 @@
 static void play_song(int notes_left, int* melody, int* duration) {
     
     // YOUR CODE HERE
-    
+  
 
 }