wave player pwm & covox

Dependencies:   wave_player_pwm_and_covox mbed USBHost

Revision:
11:d2099045bdc9
Parent:
10:c3614ed19126
--- a/main.cpp	Sat Dec 29 09:48:31 2018 +0000
+++ b/main.cpp	Thu Jan 03 13:50:44 2019 +0000
@@ -1,20 +1,24 @@
 /*
-Big green ugly test. Free for use bla bla bla. Do not eat.
+Big green ugly etc. Free for use bla bla bla. Do not eat.
 Tested on stm32f746zg
 
-Based on Vladimir Berzin SDFileSystem wave player 
-https://os.mbed.com/users/berzin11295/code/wav_player/
+Fast creepy transformation DAC_PWM WavePlayer SD_Card 
+to usb_flash_stick PWM_Covox WavePlayer
+
+Based on Lucy Lenhardt  wave_player_pwm_and_dac 
+https://os.mbed.com/users/lenhardt/code/wave_player_pwm_and_dac/
 */
 
 #include "mbed.h"
+//#include "pinout.h"
 #include "USBHostMSD.h"
 #include "wave_player.h"
 
-Serial pc(USBTX, USBRX, 115200); // tx, rx, baud rate to avoid terminal glitches
+Serial pc(USBTX, USBRX, 115200); // tx, rx, baud rate
 
 AnalogOut dac(PA_5);
-//DigitalOut enb(PA_12);
-wave_player player(&dac);
+PwmOut enb(PA_6);
+wave_player player(&dac, &enb);
 
 int main() {