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
Diff: WOLFSON_config.h
- Revision:
- 8:40f37287589a
- Parent:
- 7:fb47ff047ac7
- Child:
- 9:4d6b9a554550
--- a/WOLFSON_config.h Sun Oct 28 21:31:58 2018 +0000 +++ b/WOLFSON_config.h Sun Oct 28 22:01:16 2018 +0000 @@ -33,9 +33,9 @@ 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_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