10 years, 11 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

10 years, 11 months ago.

Are there interrupts from the touch ? A interrupt will interrupt your sound. Disable the interrupt while playing the sound.

Accepted Answer
NITH ece
poster
10 years, 11 months ago.

Yes there are. Will try disabling them. Thank you.