文件名称:main
-
所属分类:
- 标签属性:
- 上传时间:2013-09-24
-
文件大小:2.6kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
*名称:带有蜂鸣器乐曲报警的AD采样程序
*功能:实现用PIC18F452自带AD进行采样,并通过数码管显示,当采样电压达到 5V 时报警,用蜂鸣器播放一段歌曲
*备注1:该实验并未有硬件,仅通过 Proteus 仿真,若改为硬件,则可能需修改IO端口的宏定义,及各个部分的初始化函数,调整定时时间和延时函数
*备注2:蜂鸣器音乐原理:每首曲子都有tone和beat,tone为音调,为yinfu[]中的一个;beat为音调与音调之间间隔的时间;-* name: music with a buzzer alarm of AD sampling program
* function: implementation USES PIC18F452 bring AD sampling, and through digital tube display, when the sample reaches 5 v voltage alarm, buzzer playing a song
* note 1: the experiment does not have hardware, only through the Proteus simulation, if the hardware, may need to modify the IO port of macro definition, and each part of the initialization function, adjust the timing and time delay function
* note 2: the buzzer music principle: every piece has a tone and beat, tone to tone, for yinfu one of [] Beat for the interval of time between tone and pitch
*功能:实现用PIC18F452自带AD进行采样,并通过数码管显示,当采样电压达到 5V 时报警,用蜂鸣器播放一段歌曲
*备注1:该实验并未有硬件,仅通过 Proteus 仿真,若改为硬件,则可能需修改IO端口的宏定义,及各个部分的初始化函数,调整定时时间和延时函数
*备注2:蜂鸣器音乐原理:每首曲子都有tone和beat,tone为音调,为yinfu[]中的一个;beat为音调与音调之间间隔的时间;-* name: music with a buzzer alarm of AD sampling program
* function: implementation USES PIC18F452 bring AD sampling, and through digital tube display, when the sample reaches 5 v voltage alarm, buzzer playing a song
* note 1: the experiment does not have hardware, only through the Proteus simulation, if the hardware, may need to modify the IO port of macro definition, and each part of the initialization function, adjust the timing and time delay function
* note 2: the buzzer music principle: every piece has a tone and beat, tone to tone, for yinfu one of [] Beat for the interval of time between tone and pitch
(系统自动生成,下载前可以参看下载内容)
下载文件列表
main.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.