-
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
-
Desktop
跑马灯设计,主要是利用51单片机完成跑马灯的设计(Marquee design)
- 2012-09-18 21:59:36下载
- 积分:1
-
tqdmsj
提取测量断面数据lisp源码,以便于断面图的绘制等工作开展(
Extract measurement section data source lisp)
- 2016-03-30 17:44:01下载
- 积分:1
-
ADXL345
讲解 角度传感器的原理,内部结构,引脚功能,以及相关运用(Angle sensor to explain the principles of the internal structure of pin functions, and related use)
- 2011-09-01 01:42:49下载
- 积分:1
-
zhiliudianjtiaosu
实现用单片机控制直流电机调速功能,可用,有hex文件(Achieve MCU control DC motor speed control function is available, a hex file)
- 2012-05-27 10:47:23下载
- 积分:1
-
msp430f5438system_Chinese-Materials
msp430f5438系统中文资料(全)(msp430f5438system_Chinese Materials)
- 2013-09-09 09:12:43下载
- 积分:1
-
AD9958
AD9858:频率从1M~120M输出可设置。通过测试。(AD9858: frequency from 1M ~ 120M output can be set. Pass the test.)
- 2021-04-08 15:49:00下载
- 积分:1
-
CodeWarrior
CodeWarrior仿真与调试要点,CodeWarrior仿真与调试要点,CodeWarrior仿真与调试要点(CodeWarrior simulation and debugging points, CodeWarrior simulation and debugging points, CodeWarrior point emulation and debugging)
- 2013-08-21 21:14:06下载
- 积分:1
-
juzhenjianpan
MSP430F169单片机矩阵键盘扫描程序,用一位共阳数码管显示(MSP430F169 microcontroller matrix keyboard scanning procedures, using a common anode LED display)
- 2013-07-27 15:12:56下载
- 积分:1
-
WinAvraAvrStudio
AVRstudio和winavr的联用,多个文档,对于刚刚入门的单片机爱好者们非常有用。(AVRstudio and winavr hyphenated, multiple documents, for just getting started microcontroller enthusiasts very useful.)
- 2013-09-19 17:11:03下载
- 积分:1