-
zuixuan
其原理很简单,就是MSP430F14x系列单片机Timer A模块有一个比较/匹配功能,利用这一功能可以输出任意频率、任意占空比的方波,把这些方波输给蜂鸣器就可以播放了。当然要让蜂鸣器播放《最炫民族风》,最大的挑战是写C语言版的“乐谱”。所幸小时候学过五六年的小提琴,再加上物理竞赛的背景,因而对于乐谱、乐理、音频、节奏等等关键概念都略懂一二。废话不多说了,直接上源代码:
(The principle is very simple, is MSP430F14x Series MCU Timer A module has a compare/match function, the use of this feature can be output at any frequency, arbitrary duty cycle square wave, square wave lost these can play a buzzer. Of course, to make the buzzer play " the most unusual national wind" , the biggest challenge is to write C-language version of " music." Fortunately, the child learned the violin in 2056, coupled with the physical contest background, and thus for sheet music, music theory, audio, rhythm, etc. have little knowledge of twelve key concepts. Ado, directly on the source code:)
- 2013-05-28 21:03:14下载
- 积分:1
-
NTC温度测试
说明: 温度控制系统中采用NTC测温程序 使用二分法查表 测温精度为0.1(NTC temperature measurement program uses dichotomy to look up the table)
- 2020-09-24 13:56:35下载
- 积分:1
-
小翼下载自动更新管理1.0
资源描述代码名称: 小翼下载自动更新管理1.0
添加日期: 2000-12-7 所属分类: ASP代码>文件操作
总下载次数: 383 文件大小: 90KB
适用环境: Unix/WINNT 评定级别:
上传者: roland 下载地址: 按此下载
代码效果演示: 暂无
详细介绍: 小翼做的下载自动更新管理,该有的功能基本上都有了,尤其管理功能比较完善,下载一个回去看看吧~!
- 2022-01-31 14:26:19下载
- 积分:1
-
IR
MSP430红外解码驱动,占用了一个定时器资源。(MSP430 IR decoding drive, taking up a timer resources.)
- 2013-08-25 19:03:05下载
- 积分:1
-
C51_SH79F161_ADC
说明: 中颖单片机SH79F161的基础驱动程序源代码ADC(Ying SCM SH79F161 in driver source code based ADC)
- 2020-12-23 22:09:06下载
- 积分:1
-
oumuji源程序
实现ads1110电压模数转换和lcd1602显示以及电阻测量(ADS1110 voltage analog-to-digital conversion and LCD1602 display and resistance measurement)
- 2020-06-18 09:00:01下载
- 积分:1
-
keyboard-simulation-by-protues
用protues仿真,51单片机按键操作。(Using Protues simulation, 51 single key operation.)
- 2014-06-07 23:15:46下载
- 积分:1
-
ACISbook
ACIS的几何造型技术与系统开发,ACIS的几何造型技术与系统开发(ACIS geometric modeling technology and systems development,Books)
- 2010-05-06 16:47:34下载
- 积分:1
-
PCTest
ARM通讯程序,PC机测试 ARM通讯程序,PC机测试 (ARM communication procedures, ARM PC communications testing procedures, test ARM PC communication procedures, ARM PC communications test procedures, test PC)
- 2007-06-21 15:07:39下载
- 积分:1
-
(FWLib3.5PuCOSIIIPuCGUI3.98)-DSO
基于STM32F103ZE开发板,双通道示波器,带ucosIII+ucGUI3.98源码,调试了好几天才调好。(Based on the STM32F103ZE development board, dual channel oscilloscope, with ucosIII+ucGUI3.98 source code, debug several days to adjust.)
- 2014-07-01 21:30:18下载
- 积分:1