W R / Mbed 2 deprecated 4180_Final_Project

Dependencies:   mbed wave_player mbed-rtos 4180Final SDFileSystem

Revision:
10:45c62daf34d4
Parent:
9:c40418c26c04
Child:
12:896de8e66292
--- a/init.h	Wed Apr 29 01:31:35 2020 +0000
+++ b/init.h	Wed Apr 29 01:39:39 2020 +0000
@@ -4,7 +4,7 @@
 #include "Nav_Switch.h"
 #include "SDFileSystem.h"
 #include "microphone.h"
-//#include "fireflies.h"
+#include "fireflies.h"
 #include "wave_player.h"
 #include  "rtos.h"
 
@@ -22,12 +22,8 @@
 BusOut led_strip1(p21,p22,p23); 
 BusOut led_strip2(p24,p25,p26);
 
-// Stuff for sound
-unsigned char *music = NULL;
-wave_player waver(&DACout);
-Ticker nextsample;
-volatile int sIndx = 0;
-int playMusic = 0;
+Thread thread1;
+Thread thread2; 
 
 // Globals
 int rounds = 3;