首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 单片机用T1中断在IO口P1.0输出乐曲(在P1.0口与VCC间接一喇叭即可听到) 1.由于输出的是方波,比较难听:...

单片机用T1中断在IO口P1.0输出乐曲(在P1.0口与VCC间接一喇叭即可听到) 1.由于输出的是方波,比较难听:...

  • 资源大小:7.31 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: SCM c++

资 源 简 介

单片机用T1中断在IO口P1.0输出乐曲(在P1.0口与VCC间接一喇叭即可听到) 1.由于输出的是方波,比较难听:-)你也可以将波形细分用DA输出正弦波 2.由于T1频繁中断,任何其他中断发生都会是乐曲打顿,只适合试验 3.优化音符编码:一个字节中包含节拍、音符、升降调,可区分数据和命令 -Single-chip microcomputer used in the IO port T1 interrupt output music P1.0 (P1.0 port with VCC in the indirect one can hear the speaker) 1. As the output is a square wave, more bluntly :-) You can also fine-waveform DA output sine wave with sub-2. Due to the frequent interruption of T1, any other interruption occurs Dayton will be playing music, is only suitable for test 3. optimized coding notes: A byte contains rhythms, notes, take-off and landing tune can distinguish between data and command

文 件 列 表

singlechipplaymusic.doc
VIP VIP
0.214285s