文件名称:TimeCount
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 15kb
- 下载次数:
- 0次
- 提 供 者:
- sa***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
很有意思的一个单片机程序
用AVR(MEGA16)和BEEP演奏两只老虎
使用了MEGA16的具有PWM功能定时/计数器2
比较输出结果有OCR2管脚输出,即将蜂鸣器连接到OCR2对应的I/O口上即可
这是我自己参照简谱和不同音符对应频率将两只老虎这首歌转成程序
-Very interesting program with a single-chip AVR (MEGA16) and BEEP two tigers used in concert with the PWM function MEGA16 timer/counter 2 compare output pin has OCR2 output, buzzer is about to connect to OCR2 corresponding I/O mouth on you This is my own notes by reference to the corresponding numbered musical notation and different frequencies will be two tigers the song into procedures
用AVR(MEGA16)和BEEP演奏两只老虎
使用了MEGA16的具有PWM功能定时/计数器2
比较输出结果有OCR2管脚输出,即将蜂鸣器连接到OCR2对应的I/O口上即可
这是我自己参照简谱和不同音符对应频率将两只老虎这首歌转成程序
-Very interesting program with a single-chip AVR (MEGA16) and BEEP two tigers used in concert with the PWM function MEGA16 timer/counter 2 compare output pin has OCR2 output, buzzer is about to connect to OCR2 corresponding I/O mouth on you This is my own notes by reference to the corresponding numbered musical notation and different frequencies will be two tigers the song into procedures
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TimeCount
.........\Debug
.........\settings
.........\........\TC.dbgdt
.........\........\TC.dni
.........\........\TC.wsdt
.........\TC.C
.........\TC.dep
.........\TC.ewd
.........\TC.ewp
.........\TC.eww
.........\TC_d90.aps
.........\Debug
.........\settings
.........\........\TC.dbgdt
.........\........\TC.dni
.........\........\TC.wsdt
.........\TC.C
.........\TC.dep
.........\TC.ewd
.........\TC.ewp
.........\TC.eww
.........\TC_d90.aps