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.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
1:7fdec2560f78 | 2015-01-09 | fixed | File Diff Annotate |
0:59717cf94c6a | 2015-01-09 | improved using serial commands | File Diff Annotate |