-
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
-
nec-78k0-SMP-ad_pwm_int
此为本人在本学期单片机创新课程中做的实验之一。本实验基于nec单片机,Applilet2 for 78K0KX2和SM+编译器实现的实时可变更的PWM输出实验。虽然程序本身并不复杂,但是由于nec的源码相对稀有,相信该程序是对特定人群,尤其是和我一样也要上单片机创新课程的同学是很有帮助的。(This do for himself in this microcontroller innovation course of one of the experiment.This experiment based on the nec MCU, Applilet2 for 78 k0kx2 and SM+ compiler implementation of real-time can change the PWM output of the experiment.Although the program itself is not complicated, but as a result of the nec source is relatively rare, believe that this program is for certain people, especially as I also want to go to the single chip microcomputer innovation course of students is of great help/very helpful.)
- 2015-07-14 11:00:45下载
- 积分:1
-
2FSK-digital-communication-system
这是一份设计报告,内容为2FSK的数字通信系统,里面有仿真图和电路图(This is a designing report about 2FSK digital communication system)
- 2015-01-31 14:07:08下载
- 积分:1
-
sss
基于阶跃法的RC参数测试仪 实验内容以及实验报告(failed to translate)
- 2013-05-06 21:26:44下载
- 积分:1
-
CNC-MILL
用C51开发的数控铣床控制器程序,包含直线插补,圆弧插补(CNC milling machine with C51 controller development process, including linear interpolation, circular interpolation)
- 2021-03-01 10:19:35下载
- 积分:1
-
DALI
以前学习DALI时所下载的一些资料。内容较全。(Learning DALI download some information. Content than the whole.)
- 2012-12-10 09:45:04下载
- 积分:1
-
equipment-control-systems
采用STC89C52单片机写的硫酸铜建浴设备控制系统。(STC89C52 MCU write using copper sulfate bath construction equipment control systems.)
- 2014-07-09 15:36:29下载
- 积分:1
-
C—program
读取标准卡 并在串口打印符合要求的标准卡卡号,同时有其它一些未启用的功能,需要的可以酌情添加。(Read the standard card and print in line with the required standard card number, and some other functions are not enabled, you can add as appropriate.)
- 2017-08-02 13:23:07下载
- 积分:1
-
AT89C51-DS18B20-digital-temperature
基于AT89C51的DS18B20数字测温程序,开发环境为keil(Based on AT89C51 DS18B20 digital temperature measurement procedures, the development environment for keil)
- 2013-04-29 14:26:15下载
- 积分:1
-
NB-RQB
说明: NB-IOT智能燃气表用以实现燃气表的物联网功能(Nb-iot smart gas meter is used to realize the Internet of things function of gas meter)
- 2019-03-21 22:08:18下载
- 积分:1