-
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
-
2017-07-18 缩放图片并保存
说明: c# visual studio studio
- 2019-04-02 11:25:25下载
- 积分:1
-
ch3_3
泡泡运动,通过载入泡泡图片和背景。运用动量守恒定律来实现泡泡的碰撞。可能缺少几个图片,大家自己补充一下就好(Bubble motion pictures and background by loading bubble. The use of the law of conservation of momentum to achieve bubble collisions. May be missing a few pictures, we like to add your own)
- 2013-10-10 21:21:28下载
- 积分:1
-
CoInstaller
The COINSTALLER Sample accompanies Chapter 15 and illustrates how to write a coinstaller DLL using Microsoft Foundation Classes.(The COINSTALLER Sample accompanies chap er 15 and illustrates how to write a coinstaller DLL using Microsoft Foundation Classes.)
- 2006-04-27 11:49:43下载
- 积分:1
-
VC++下https通讯实现
VC++下HTTPS通讯的实现
通过VC++,TCP访问HTTPS接口,实现与https服务器进行数据交互,可以进行GET,Post操作
- 2023-06-14 12:20:03下载
- 积分:1
-
des
使用DES算法;可以指定使用DES、2DES或者3DES算法;可以对任意的文件进行加密和解密,加密后文件扩展名为.des,可以指定使用ECB,CBC,CFB,OFB,CTR的任意一种模式;
(The use of DES algorithm can specify the use of DES, 2DES or 3DES algorithm can arbitrary file encryption and decryption, encryption, named after the file extension. Des, you can specify the use of ECB, CBC, CFB, OFB, CTR arbitrary a model )
- 2008-07-05 00:04:05下载
- 积分:1
-
arma_analyse-and-forecast
1、时间序列的ARMA(自回归移动平均)算法代码实现;
2、能用于平稳时序的分析和预测;
3、使用C/C++开发。(1、The codes relization of timeseries arma forecast method
2、Be used in analyzing and forecast in timeseries
3、Be developed by C/C++ tool.)
- 2021-04-29 11:08:43下载
- 积分:1
-
39a2f72efdd5cd805fa8e7740053ec5e(1)
噪声产生在matlab程序中的simulink模型设计。(thin is a simulink,please use the thing to study.)
- 2018-03-31 23:35:15下载
- 积分:1
-
HT16C22程序
HT16C22显示驱动程序,使用I2C功能(HT16C22 display driver, using the I2C function)
- 2020-10-02 23:27:43下载
- 积分:1
-
at91sam7s application code : 1) completion of the basic initialization 2) initia...
at91sam7s应用
代码说明:
1)完成基本的初始化
2)初始化PIO等
3)驱动板上的四个按键(PB1,PB2,PB3,PB4)
4)初始化DEBUG口,Usart1等
5)初始化定时器timer0,timer1等-at91sam7s application code : 1) completion of the basic initialization 2) initialization three PIO) driver board the four buttons (PB1, PB2. PB3, PB4) 4) initialization DEBUG mouth, Usart1 five) initialize the timer timer0, timer1 etc.
- 2022-05-21 11:39:49下载
- 积分:1