Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 6 months ago.
mx_audio along with LCD and touch panel doesnt seem to work
We are trying to play small audio wav file along the way stored in a SD card, as we work through a digital key for unlocking a door. The "forest.wav" is playing fine without the LCD and touch panel attached. But when they are connected, we hear a noise instead of the wav file. Looks like it is playing but there is some mismatch. The program is temporarily published in http://mbed.org/users/kit2/code/Digital_Lock_with_audio/
Any suggestion on what could possibily be wrong is appreciated.
2 Answers
11 years, 6 months ago.
Are there interrupts from the touch ? A interrupt will interrupt your sound. Disable the interrupt while playing the sound.