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

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

于 2022-03-26 发布 文件大小:7.31 kB
0 222
下载积分: 2 下载次数: 1

代码说明:

单片机用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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • bd3201
    bd3201-14A(DRE)提供的高性能数字音频信号处理能力,可实现紧凑的,易用 的,高质量的混响效果解决方案-bd3201-14A (DRE) provides high-performance digital audio signal processing capabilities, enabling compact, easy to use, high-quality reverb solution
    2022-02-03 03:21:12下载
    积分:1
  • Use of FPGA resources for the realization of arbitrary waveform generation, agai...
    利用FPGA的资源实现任意波形的产生,再若和单片机配合就能做成任意的波形发生器。-Use of FPGA resources for the realization of arbitrary waveform generation, again if and SCM can be made with the arbitrary waveform generator.
    2022-02-11 11:04:08下载
    积分:1
  • 它是关于单片机与温度芯片DS18B20的资料,通过单片机采集芯片DS18B20温度...
    它是关于单片机与温度芯片DS18B20的资料,通过单片机采集芯片DS18B20温度-It is a single-chip microcomputer with on-chip temperature DS18B20 information collected through the single-chip-chip temperature DS18B20
    2022-08-24 01:18:09下载
    积分:1
  • 单片机用的俄罗斯方块程序,用128x64的液晶显示。
    单片机用的俄罗斯方块程序,用128x64的液晶显示。-Singlechip procedures used in the Russian box, using the LCD 128X64.
    2022-12-01 04:35:03下载
    积分:1
  • keycontrolled keycontrolled
    KEYCONTROLLED KEYCONTROLLED-KEYCONTROLLED KEYCONTROLLED KEYCONTROLLED
    2022-03-14 09:21:39下载
    积分:1
  • c51程序原理. .
    c51程序原理. .-principle
    2022-04-07 19:34:50下载
    积分:1
  • c8051f021单片机资料
    c8051f021单片机资料-c8051f021
    2022-01-25 15:25:10下载
    积分:1
  • 电能表远程抄表系统的解决方案,希望能给有类似应用的人带来帮助...
    电能表远程抄表系统的解决方案,希望能给有类似应用的人带来帮助-Energy meter remote meter reading system solution, hope that they will have similar applications to help bring
    2022-01-25 16:04:36下载
    积分:1
  • CDLEA.hex CDLEA_Main.c CDLEA.hex compiled for the red outside sources of remote...
    CDLEA.hex CDLEA_Main.c CDLEA.hex为已编译的红外遥控音源切换器的单片机程序 CDLEA_Main.c为源代码 CDLEB.hex CDLEB_Main.c CDLEB.hex为已编译的加强版的红外遥控音源切换器的单片机程序   有红外遥控PC功能,PC软件可使用Grider3.2(SAA3010T电视遥控器)   Grider3.2可到http://cdle.yeah.net下载 CDLE_A410.exe 为红外遥控音源切换器的PC应用软件。-CDLEA.hex CDLEA_Main.c CDLEA.hex compiled for the red outside sources of remote switching of SCM CDLEA_Main.c procedures for the C source code CDLEB.hex DLEB_Main.c CDLEB.hex compiled for the enhanced version of the infrared remote control sources of the single switches machine procedures with infrared remote control PC functions, PC software can be used Grider3.2 (SAA3010T TV remote control) Grider3 .2 can http :// cdle.yeah.net download CDLE_A410.exe sources of infrared remote control switches the PC application software.
    2023-02-03 22:55:03下载
    积分:1
  • C51单片机数码管显示通用接口显示模块源码奉献
    C51单片机数码管显示通用接口显示模块源码奉献-C51 microcontroller Universal Display Digital Interface Module dedicated source
    2022-05-23 17:30:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载