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

mbed.bld

Committer:
ffxx68
Date:
2015-01-09
Revision:
1:7fdec2560f78
Parent:
0:59717cf94c6a

File content as of revision 1:7fdec2560f78:

http://mbed.org/users/mbed_official/code/mbed/builds/4fc01daae5a5