-
单片机用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
-
该源码是一款用12864做的英文游戏,具有proteus仿真,比较有趣,能激发学液晶的兴趣...
该源码是一款用12864做的英文游戏,具有proteus仿真,比较有趣,能激发学液晶的兴趣-The source code is a 12864 to do with the English game, with the Proteus simulation, the more interesting, can stimulate interest in science LCD
- 2022-01-31 05:17:45下载
- 积分:1
-
TI的CAN接口芯片sn65hvd251的说明。
TI的CAN接口芯片sn65hvd251的说明。-TI s CAN interface chip sn65hvd251 instructions.
- 2022-04-02 08:25:15下载
- 积分:1
-
On sdc/mmc detailed usage, Japan website
关于sdc/mmc的详细用法,日本网站下载-On sdc/mmc detailed usage, Japan website
- 2023-03-30 11:30:04下载
- 积分:1
-
Resa智能车比赛时的源代码。传感器为车前排的光电管。一个舵机控制转向,后轮双马达两驱。...
Resa智能车比赛时的源代码。传感器为车前排的光电管。一个舵机控制转向,后轮双马达两驱。-Resa smart car game source code. Sensor for the front car of the phototube. A gear shift control, dual-rear-wheel drive two motors.
- 2022-10-06 15:00:03下载
- 积分:1
-
单片机定时器t0 1计算、串口设置、波特率误差分析
单片机定时器t0 1计算、串口设置、波特率误差分析-timer0 imer1 make and file open
- 2022-03-03 02:26:49下载
- 积分:1
-
ISD_调试范例,nRF9E5的C语言编程.
ISD_调试范例,nRF9E5的C语言编程.-ISD_ debugging example, nRF9E5 the C language programming.
- 2022-12-28 10:25:03下载
- 积分:1
-
I2C读写单
单片机模拟I2C读写看门狗芯片X5045,C51源程序,本人调试通过!-I2C read and write single-chip analog watchdog chip X5045, C51 source code, I debug through!
- 2022-02-04 20:56:25下载
- 积分:1
-
240x128液晶T6963控制器驱动程序(C51)。功能较强,可实现反显,画图画直线等功能...
240x128液晶T6963控制器驱动程序(C51)。功能较强,可实现反显,画图画直线等功能-128 T6963 LCD controller driver (C51). More powerful, can achieve significant anti-painted picture linear functions
- 2023-07-09 00:15:03下载
- 积分:1
-
1.电子琴功能
用实验板上K1~K7作为电子琴的7个按键,每个按键对应一个音符要求当按下其中一个按键,就通过P2.5口输出对应频率信号使蜂鸣器发出特定音符声...
1.电子琴功能
用实验板上K1~K7作为电子琴的7个按键,每个按键对应一个音符要求当按下其中一个按键,就通过P2.5口输出对应频率信号使蜂鸣器发出特定音符声音。
2.乐曲演奏
若按下K8键,完成自动弹奏“送别”歌曲。
-1. Organ function of the experimental board K1 ~ K7 as the organ of the seven buttons, each button corresponds to a note of which require that when the press of a button, on the adoption of P2.5 port output frequency signal corresponding to a specific note to the buzzer sounds . 2. Music playing, if pressed K8 button to complete the auto-play " Farewell" songs.
- 2023-01-04 14:40:03下载
- 积分:1