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.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
1:7fdec2560f78 | 2015-01-09 | ffxx68 | fixed |
0:59717cf94c6a | 2015-01-09 | ffxx68 | improved using serial commands |