-
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
-
jianhua
说明: 基于无人机,组合导航实现联邦滤波器。代码(UAV-based, integrated navigation filter to achieve Federation. Code)
- 2020-09-09 16:18:01下载
- 积分:1
-
60s
该程序为初学者学习单片机时使用的60S倒计时程序,可将开程序用在proteus软件上进行仿真,我试过可行的~(The program for beginners to learn the use of single-chip microcomputer of the 60S countdown procedures, can be used in open procedures proteus simulation software, I tried to possible ~)
- 2009-06-02 09:48:30下载
- 积分:1
-
dianhuabohao
仿真电话键盘拨号的电路图 C 以及HEX文件 是我的单片机考试作业(this is my master piece)
- 2013-12-19 02:29:51下载
- 积分:1
-
codejock-13.0.0-by-registred-by-sanlegas
codejock 13 and activasi
- 2014-01-07 13:21:51下载
- 积分:1
-
FTCP动态库
FTCP动态库是使用C++语言编写的可以实现与DTU交互的工具包(The FTCP dynamic library is a toolkit that uses the C++ language to interact with DTU)
- 2018-02-09 08:58:01下载
- 积分:1
-
HM20-Universal-Pressure-Transmitter
HM20通用型压力变送器 资料很全 值得下载
(HM20 Universal Pressure Transmitter)
- 2013-07-25 09:49:01下载
- 积分:1
-
BF51
BF51实验板CAN通信器件SJA1000驱动代码(BF51 experimental board SJA1000 CAN communication device driver code)
- 2011-04-27 17:37:18下载
- 积分:1
-
RS485-basic-communication-principles
RS485通信的源代码,可进行两个系统之间信号的传递,介绍其编程规则(RS485 communications source code, can be passed between the two signal systems, introduces its programming rules)
- 2016-04-13 21:00:22下载
- 积分:1
-
D_Motor
AT89C51控制步进电机,实现正反转加减速,驱动芯片是ULN2803.(AT89C51 control the stepper motor to achieve reversing acceleration and deceleration, the driver chip is the ULN2803.)
- 2011-05-30 21:09:36下载
- 积分:1