-
fer1
$regfile = M8DEF.dat internal crystal 8000000
Config Lcdpin = Pin , Db4 = Portc.1 , Db5 = Portc.2 , Db6 = Portc.3 , Db7 = _
Portc.4 , E = Portd.2 , Rs = Portd.3
Config Lcd = 16 * 2
Config Timer1 = Counter , Edge = Rising
Ddrb.1 = 0 : Portb.1 = 1 PULL UP RESISTOR ACTIVATED
Config Timer0 = Timer , Prescale = 1024
Enable Counter1
Enable Interrupts
Enable Timer0
Enable Timer1
On Ovf1 Pulsecount
On Ovf0 Ovf0occures
Dim A As Long , I As Long , B As Byte
B = 0
Cls
Start Timer0
Do
Loop
End end program
Ovf0occures:
Incr I
If I > 30 Then
Stop Timer0
Cls : Home
A = B * 65536
A = A + Counter1
Lcd FREQ IS : A HZ
B = 0
I = 0 : Counter1 = 0
Start Timer0
End If
Return
Pulsecount:
Incr B
Counter1 = 0
Return
- 2014-11-22 01:04:48下载
- 积分:1
-
Automaticlandingsystemcanberemotecontrolledbannerd
全自动可遥控旗帜升降系统以AVR单片机为核心,由PWM对电机进行变频调速,高精度光电编码器测速,闭环式电路控制。能够利用按键输入相应的指令控制旗帜的升降,还可以实现在特定位置停留的功能。利用LCD可以显示旗帜的实时高度和相应的控制命令,用LED指示旗帜是否处于半旗状态,具有语音提示报警功能,并可利用无线模块实现遥控功能,准确均匀地实现旗帜的升降(Automatic landing system can be remote-controlled flag to AVR microcontroller core of the PWM VVVF motor, high-precision optical encoder gun, closed-loop control circuit. Enter the appropriate button to take advantage of the command control of the rise and fall of the flag, but also can stay in the function of a specific location. LCD can display the banner of the use of real-time high and the corresponding control command, the LED is directed at the flag half-mast, and alarm functions with voice prompts, and the use of wireless remote control function module, to achieve uniform and accurate take-off and landing flag)
- 2009-05-08 17:47:20下载
- 积分:1
-
zhinengzhizhen
智能指针的设计,主要为了解决野指针的问题(Smart pointer design, mainly in order to solve the problem of dangling pointers)
- 2015-10-25 11:16:20下载
- 积分:1
-
pgr7
scaling triangle using scaling transformation algorithm
- 2014-10-17 14:09:20下载
- 积分:1
-
infrared-transmitting-receiving-
本文包括红外发射和接收模块,以及和他们相关的资料信息
(In this paper, including the infrared emission and receiving module, and their related information)
- 2015-04-14 12:07:28下载
- 积分:1
-
Frequency-calculate
用于水文频率计算的目估适线法,程序基于φ值表查询计算(Mesh used to calculate estimates of hydrological frequency fitting method)
- 2013-12-31 11:14:37下载
- 积分:1
-
SIM800C
SIM800C升级工具,二次开发工具,省成本的特别好用用的方案(SIM800C upgrade tool)
- 2017-01-23 11:27:01下载
- 积分:1
-
SoundSync
好的声文同步程序,值得学习,适合于初学者,给大家共同分享(Good sound text synchronization process, it is worth learning, suitable for beginners, for everyone to share)
- 2010-06-24 18:12:14下载
- 积分:1
-
tongbujianPtiaobian
这是一个为数不多的用C语言编写的PIC12C508的RGB灯的小型控制器,交流同步信号检测,七彩跳变+七彩渐变,做LED的朋友可以参考,程序可以直接使用的;(This is a small controller RGB lights a few written by C PIC12C508, AC synchronous signal detection, colorful jump+ colorful gradient, do LED friends can reference, the program can be used directly )
- 2013-09-09 16:24:18下载
- 积分:1
-
c100
单片机实例学习,可以轻松学习单片机.请大家仔细专研。(SCM instance learning, you can easily learn microcontroller. To please carefully researched.)
- 2013-05-18 12:25:20下载
- 积分:1