How can I play a sound effect to acknowledge the users touch in my coffee machine interface?

EVE includes a range of built-in sound effects such as beeps, bells, clicks and musical instruments which can be played via a simple register write.

These take the hard work out of recording and fine-tuning sounds or even trying to generate professional sounding tones with an MCU. Use touch tags to detect when icons or buttons on the screen are being touched.

Then, write the hex code for your chosen sound to REG_SOUND to play it (see the Audio section of the EVE device datasheet for a table of sounds).

You can also set the volume via REG_VOL_SOUND which is useful for making alert sounds louder and touch acknowledgement more discrete.