Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed wave_player mbed-rtos 4180Final SDFileSystem
Diff: init.h
- 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;
