Description: 首先要说:是我自己写的你他地方下不到!
这是一个用PWM播放.wav歌曲文件的程序,歌曲本身已经被和代码一起固化到FLASH中了,想要听到美妙的歌曲你只需要把PB0经过一个滤波放大电路接到蜂鸣器或耳机插孔上,并把程序下到你的STM32中运行就可以了。
另外,看看这篇关于PWM播放.wav的文章:http://wmx0901.blog.163.com/blog/static/10320222020097171727367/edit/-First of all, to say: I wrote it myself, he places less than you! This is a PWM player with. Wav files songs, songs and the code itself has been with the curing of the FLASH, and you want to hear the wonderful songs you have to do to go through a filtering PB0 received buzzer amplifier or headphones jack, and the procedures to run your STM32 it. In addition, take a look at this on the PWM player. Wav article: http://wmx0901.blog.163.com/blog/static/10320222020097171727367/edit/ Platform: |
Size: 1145856 |
Author:wmx0901 |
Hits:
Description: 利用STM32的定时器产生PWM波,控制蜂鸣器播放两只老虎的音乐文件-STM32 timer wave PWM control buzzer to play the music of two tigers files Platform: |
Size: 2849792 |
Author:李瑛 |
Hits: