emfcamp / Mk2-Firmware

Firmware that runs on the TiLDA v2 Badge
18 stars 36 forks source link

Sound task #23

Open dpslwk opened 10 years ago

dpslwk commented 10 years ago

Piezo sounder has two possible uses. First is simple notification beeps that might be triggered by an app or incoming radio notification.

Second is playback of simple tunes

Piezo is on a DAC pin which we suspect might not work, so either use software PWM or redirect the hardware PWMH3 pin from LED1_BLUE

Should investigate rapid DAC changes using DMA/PDC xfer to emulate PWM