搜索资源列表
diannaoshizhongchengxu
- 通过控制单片机内部的定时器来产生不同频率的方波,驱动喇叭发出不同音调的音乐,再利用延迟来控制发音时间的长短。把乐谱转化成相应的定时常数就可以从发音设备中演奏出悦耳动听的音乐。对于不同型号的单片机只需要相应的改变一下地址即可。-Single-chip by controlling the internal timer to generate a square wave of different frequencies, different tone horn-driven music, re-us
mcu
- 单片机控制外部设备,读取外部设备状态,外部中断的应用-Microcontroller to control external devices, read the status of external devices, the application of external interrupts, interrupt-depth understanding, variables, and marked the flexible application of the flexible applica
dingshiqi
- 在Keil软件上使用定时器。相对于其他的延时软件,定时器的延时更为准确。-In Keil software timer. More accurate timer delay relative to the delay software.
e
- 基于51单片机的简易电子琴,能利用所给键盘的1,2,3,4,5,6,7,8八个键,能够发出7个不同的音调,而且有一个按键可以自动播放歌曲,要求按键按下时发声,松开延时一小段时间,中间再按别的键则发另外一音调的声音,当系统扫描到键盘按下,则快速检测出是哪一个按键被按下,然后单片机的定时器启动,发出一定频率的脉冲,该频率的脉冲经喇叭驱动电路放大滤波后,就会发出相应的音调。如果在前一个按下的键发声的同时有另一个按键被按下,则启动中断系统。前面的发音停止,转到后按的键的发音程序。发出后按的键的音调。-5
Sleep-API-function-delay
- API的 Sleep函数和Timer 延时-API s Sleep Timer function and delay。。。。。。。
