-
单片机用T1中断在IO口P1.0输出乐曲(在P1.0口与VCC间接一喇叭即可听到)
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
- 2022-03-26 02:09:22下载
- 积分:1
-
8位定时器H1(PWM 输出)
8位定时器H1(PWM 输出) -8-bit timer H1 (PWM output)
- 2022-04-22 16:53:18下载
- 积分:1
-
C8051Fxxx单片机的C语言例程,所有外围设备和我们所有的希望。
c8051fxxx单片机所有外设C例程,希望对大家有用。-c8051fxxx Microcontroller C routines for all peripherals and hope for all of us.
- 2023-06-10 10:45:03下载
- 积分:1
-
MSP430 development routines
MSP430 开发例程-MSP430 development routines
- 2023-04-01 20:35:04下载
- 积分:1
-
c8051f020 ADC1 的简单应用
c8051f020 ADC1 的简单应用-c8051f020 ADC1 a simple application
- 2022-01-26 01:26:17下载
- 积分:1
-
HDD控制程序供参考
HDD控制程序供参考 -HDD control procedures for reference HDD control procedures for information-control HDD for reference sequence
- 2023-06-18 21:40:03下载
- 积分:1
-
拷拷贝到你的Keil安装目录下的c51in文件夹中。
工程文件中需设置一下:
project...
拷拷贝到你的Keil安装目录下的c51in文件夹中。
工程文件中需设置一下:
project->Option for Target Target1
选Debug页
左侧最下面
Dialog Dll
一般是DP51.DLL,不用修改
Parameter
中是
-P51
在其后加入
-dledkey
即该行看起来应该是这样的:
-p51 -dledkey
保存即可
进入调试后,点击:Peripherals,其中多出一个“键盘LED实验仿真板”选择该项即可。-emboss your copy of the Keil installation directory under the decoder bin folder. The project document to be provided as follows : project-gt; Option for Target Target1 election Debug bottom of the left page is generally Dialog Dll DP51.DLL, need not be amended Parameter is- P51 add after-dledkey that the bank should look like this :-p51-can be preserved into dledkey to debug and click : Peripherals, in which more than a "keyboard LED simulation board," which can be chosen.
- 2022-01-25 15:16:05下载
- 积分:1
-
这是用单片机实现的多功能数字钟,通过8255扩展端口,AD0809将模拟信号转换成数字信号进行处理,可以比较精确的测出电压值....
这是用单片机实现的多功能数字钟,通过8255扩展端口,AD0809将模拟信号转换成数字信号进行处理,可以比较精确的测出电压值.-This is the MCU multifunction digital clock, through the 8255 expansion port, AD0809 a conversion of analog signals into digital signal processing, more precise measuring the voltage values.
- 2023-01-10 12:50:03下载
- 积分:1
-
I have written 74HC595 digital tube display program, a total of 595 drive two di...
我自己编写的74HC595数码管显示程序,一个595驱动两个共阳极数码管-I have written 74HC595 digital tube display program, a total of 595 drive two digital tube anode
- 2022-04-19 05:33:53下载
- 积分:1
-
在单片机应用设计中,4*4键盘是经常用到的,在这个程序种,提供了驱动键盘的基本函数,用户可以直接调用,可以很容易的移植到你的系统上。程序中并附带了,lcd160...
在单片机应用设计中,4*4键盘是经常用到的,在这个程序种,提供了驱动键盘的基本函数,用户可以直接调用,可以很容易的移植到你的系统上。程序中并附带了,lcd1602的驱动程序-Application in the design of single-chip, 4* 4 keyboard is frequently used in the process of providing the basic function-driven keyboard, users can directly call, can be easily ported to your system. And incidental to the proceedings, lcd1602 driver
- 2022-04-08 10:22:51下载
- 积分:1