Source code to play mario melody on stm32
https://www.youtube.com/watch?v=5El3rQ4mCPc&feature=youtu.be
This project is simple code to play melodies on stm32f103. Just connect pins 0 and 1 on port A to left and right speaker (through the amplifier if it needed).