-
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
-
数字电压表%28ADC0809%29-2
这是一款数字电压表,ad转换之后显示出来,一个简单的例程(For robots, most of the information is obtained from
visual sensors and tactile sensors (including slide
tactile sensor). The visibility in the seawater of China
is very low except Nanhai. Even in the water of high
visibility, the water will be turbid and the visibility
will become very low when the robot is working.)
- 2019-05-03 22:02:13下载
- 积分:1
-
LSD_C
自己实现的LSD直线检测算法,比论文提供的LSD检测算法少了很多复杂操(LSD own line detection algorithm implemented, LSD detection algorithm than the paper offered a lot less complicated operation)
- 2021-02-01 10:50:01下载
- 积分:1
-
32测距(OLED显示)
说明: 基于stm32f103zet6单片机的超声波测距(Ultrasonic ranging based on stm32f103zet6 single chip computer)
- 2020-06-17 20:40:04下载
- 积分:1
-
nrf905stm32
stm32控制NRF905程序,现场运行验证2年。(stm32 NRF905 control procedures, on-site verification for 2 years running.)
- 2013-06-27 15:07:16下载
- 积分:1
-
Virtualserialport
虚拟串口,在Proteus中可用实际串口与其通信(Virtual serial port, available at Proteus its actual serial communication)
- 2009-03-22 23:44:31下载
- 积分:1
-
shiyan14
利用51单片机控制HC-SR04超声波测距模块,实现用其测距的功能(HC-SR04 ultrasonic ranging module 51 MCU control, with its functionality ranging)
- 2012-11-26 20:18:03下载
- 积分:1
-
24c02
pic单片机+proteus 仿真 24c02eeprom存储试验(pic+proteus simulate eeprom 24c02)
- 2009-06-21 18:09:38下载
- 积分:1
-
电子时钟
stm32f103c8t6、ds1302的电子时钟电路+程序设计(Electronic clock circuit + program design of stm32f103c8t6 and DS1302)
- 2020-07-13 15:08:51下载
- 积分:1
-
Digital-oscilloscope
此文件是基于89C51的数字示波器,以单片机为主控制器,来实现对信号的处理。(This file is based on 89 c51 digital oscilloscope, give priority to with single-chip microcomputer controller, to achieve the signal processing.)
- 2015-12-16 16:20:01下载
- 积分:1