does not work yet. Sound starts but then stops after a few seconds, whole thing hangs. Published so as I can import through mbed CLI.

Dependencies:   mbed sinelookup SDFileSystem_Copy_of_mbed_version I2S

Revision:
5:5b120a2d9249
Parent:
0:004cb0595aa8
Child:
7:fb47ff047ac7
diff -r 1a9482a07ee2 -r 5b120a2d9249 WOLFSON_config.h
--- a/WOLFSON_config.h	Sat Oct 06 11:51:23 2018 +0000
+++ b/WOLFSON_config.h	Tue Oct 23 19:02:45 2018 +0000
@@ -27,11 +27,15 @@
 const int _WM8731_RIGHT_LINEIN       = 0X0180;     // MIC SETTINGS: ENABLE MUTE, ENABLE SIMULTANEOUS LOAD TO LEFT AND RIGHT CHANNELS
 const int _WM8731_LEFT_HP            = 0X00F9;     // HEADPHONE SETTINGS : 0DB
 const int _WM8731_RIGHT_HP           = 0X00F9;     // HEADPHONE SETTINGS : 0DB
+//const int _WM8731_LEFT_HP            = 0X00E1;     // HEADPHONE SETTINGS : -6?DB
+//const int _WM8731_RIGHT_HP           = 0X00E1;     // HEADPHONE SETTINGS : -6?DB
 const int _WM8731_ANALOGAUDIO        = 0XD0;       // DAC SELECT
-const int _WM8731_DIGITALAUDIO       = 0X00;
+const int _WM8731_DIGITALAUDIO       = 0X00;        //11011
 const int _WM8731_POWER              = 0X00;       // DISABLE POWER DOWN
 const int _WM8731_DAIF               = 0X02;       // ENABLE SLAVE MODE, 16BIT DATA AND I2S DATA
-const int _WM8731_SAMPLING           = 0X00;       // 48000HZ,12.288MHz oscillator.
+//const int _WM8731_SAMPLING           = 0X00;       // 48000HZ,12.288MHz oscillator.
+//const int _WM8731_SAMPLING           = 0X2E;       // 8000HZ,12.288MHz oscillator.
+const int _WM8731_SAMPLING           = 0X18;       // 8000HZ,12.288MHz oscillator.
 const int _WM8731_ACTIVATE           = 0X01;       // MODULE IS ON
 const int _WM8731_DEACTIVATE         = 0X00;       // MODULE IS OFF
 const int _WM8731_RESET              = 0X00;       // RESET VALUE