Basic speaker testing on a STM32L053R8 board. Based on other examples and improved using commands sent from PC over serial-USB (t=Tone, s=Sweep, p=Police, h=Song, space=Exit). A small 8-Ohm speaker directly plugged on GND/PA_0 (PWM out) makes a low but clearly audible sound.

Dependencies:   mbed

Committer:
ffxx68
Date:
Fri Jan 09 17:46:14 2015 +0000
Revision:
0:59717cf94c6a
improved using serial commands

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ffxx68 0:59717cf94c6a 1 http://mbed.org/users/mbed_official/code/mbed/builds/4fc01daae5a5