-
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
-
Honeywell
HONEY实现工业控制过程的系统,进行任务调度.(HONEY process of industrial control systems, task scheduling.)
- 2011-07-20 12:32:29下载
- 积分:1
-
dianji
步进电机驱动,四相五线步进电机控制的测试程序,C51编写,读者可稍加修给即可应用(Stepper motor driver)
- 2012-05-30 10:36:28下载
- 积分:1
-
Voltmeter
走马灯,包括原理图和源程序,功能齐全,运用单片机开发的代码(Lantern, including schematics and source, fully functional, use microcontroller development code)
- 2015-01-07 21:06:10下载
- 积分:1
-
2
说明: CC2530芯片的使用和无线传感器网络的构建——数据收发无线组网实验(The use of CC2530 chip and the construction of wireless sensor network)
- 2017-05-05 18:14:47下载
- 积分:1
-
dianyabiao
数字电压表的源程序,可以实现实现测量电路的电压,精确到小数点后面三位数字。附带数字电压表的流程图(Digital voltage meter source, can be implemented to realize the voltage measurement circuit, down to the decimal point three digits.Attached flowchart of digital voltmeter)
- 2013-11-15 16:38:21下载
- 积分:1
-
an_r01an0455ej0100_rl78_pwm
瑞萨 pwm 控制(自带头文件)压缩包打包
(Renesas pwm control (from the lead file) compressed packed)
- 2013-08-31 09:00:39下载
- 积分:1
-
Debenu-Quick-PDF-Library-Guide
给大家介绍一个PDF操作的sdk。通过这个sdk你可以直接对PDF文件进行显示、修改、新建及打印(Debenu Quick PDF Library Guide)
- 2015-08-28 21:20:31下载
- 积分:1
-
11
说明: 两脉冲频率平均值计算 两脉冲频率平均值计算 两脉冲频率平均值计算(Two pulse frequency average of the two pulse frequency average of two average pulse frequency)
- 2013-04-24 20:02:03下载
- 积分:1
-
tongxin
智能小车使用遥控控制的源代码,本代码可以作为进一步研究的参考(Smart car using the remote control of the source code, the code can be used as reference for further research)
- 2013-10-25 15:14:21下载
- 积分:1