-
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
-
motor_encoder
stm32f072rbt6
直流电机编解码(光栅编码器)的数据采集程序。(stm32f072rbt6 DC codec (coder raster) data collection program.)
- 2015-09-14 11:28:37下载
- 积分:1
-
clock
说明: 古老电子荧光管做的数字钟,可以调时间。整点闹钟。(Electronic fluorescent tubes to do the old digital clock, you can transfer time. The whole point of alarm.)
- 2010-03-26 10:00:44下载
- 积分:1
-
DaHuaSDK
大华DVR的SDK开发包,包括源码和开发文档.(Dahua DVR SDK development kits, including source code and documentation development.)
- 2007-06-05 11:13:24下载
- 积分:1
-
CC430-4-TIMER
CC430定时器应用程序定时2MS点亮LED灯,定时2MSLED灭。(CC430 timer application timing the 2MS light LED lights, timing 2MSLED off.)
- 2012-07-24 16:18:33下载
- 积分:1
-
liushuideng
51单片机5种流水灯花样,供新手学习参考~(51 SCM 5 light water pattern for novice learning reference to)
- 2012-09-25 15:37:57下载
- 积分:1
-
msp430x20x1_ca_01
Msp430 LaunchPad s sound code that edited by Visual C++l.
- 2012-07-13 01:06:53下载
- 积分:1
-
CC2530-Chinese-datasheet
这是基于MSPCC2530的中文版数据手册,非常详细,非常清楚,很适合大家参考,学习(This is based on MSPCC2530 the Chinese version of the data sheet, very detailed, very clear, very suitable for your reference, learning)
- 2014-04-16 12:26:56下载
- 积分:1
-
changkouLED
通过上位机来控制LED显示的数字内容,主要是动态显示数字变化情况(Through the host computer to control the LED display digital content, mainly dynamic display of digital changes)
- 2013-04-29 19:04:23下载
- 积分:1
-
AD12864
ad采集及12864显示额程序 基于atmega128(ad 12864)
- 2012-07-25 23:55:10下载
- 积分:1