文件名称:fenpin
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:951byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
利用单片机的计数器来制作简易分频计,因为P1^0用来模拟外界波形输入,它提供周期为100ms的方波。与T1管脚相连后,T1可对其进行周期计数。 程序中的变量TL1决定着分频系数,其值乘以2即为分频系数。
改变其值可以得到相应的分频输出波形(方波)。
P1^1为输出管脚,将其连接示波器可以看到分频后的波形。-To make use of simple single-chip counter frequency meter, because P1 ^ 0 input waveforms used to simulate the outside world, it provides a period of 100ms square wave. After the pin is connected to T1, T1 can be cycle counted. TL1 variables in the program determines the frequency factor is multiplied by 2 is the frequency factor. Change its value can be divided by the corresponding output waveform (square wave). P1 ^ 1 for the output pin, connect the oscilloscope to see the waveform divided.
改变其值可以得到相应的分频输出波形(方波)。
P1^1为输出管脚,将其连接示波器可以看到分频后的波形。-To make use of simple single-chip counter frequency meter, because P1 ^ 0 input waveforms used to simulate the outside world, it provides a period of 100ms square wave. After the pin is connected to T1, T1 can be cycle counted. TL1 variables in the program determines the frequency factor is multiplied by 2 is the frequency factor. Change its value can be divided by the corresponding output waveform (square wave). P1 ^ 1 for the output pin, connect the oscilloscope to see the waveform divided.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
fenpin.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.