-
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
-
EX9_LCD1602
ME850单片机开发实验仪演示程序 - LCD1602显示 基于
c51系列的单片机程序,用AT89S52延时通过(ME850 SCM experimental instrument demo- LCD1602 display based on
c51 series SCM process, using AT89S52 delay through)
- 2013-10-03 18:23:10下载
- 积分:1
-
triangle
由单片机和DAC0832产生正弦波或三角波的程序。单片机和DAC0832可将频率进行分频的具体程序(Sine or triangle wave and DAC0832 procedures generated by the microcontroller. SCM and DAC0832 can divide the frequency of specific procedures)
- 2014-01-11 15:53:32下载
- 积分:1
-
GTS800Demo
深圳固高科技的运动控制卡设置软件源代码,C++ 编写,目前正在现场使用(Googol control card)
- 2013-12-01 22:07:37下载
- 积分:1
-
24l01
这是24L01开发头程序,希望对大家有帮阻(24L01 This is the first development process, we hope to help a resistance)
- 2006-10-16 09:20:32下载
- 积分:1
-
DS18B20A
相信大大家都用过DS18B20A,我自己也用手写了个玩玩(Believe that we all used DS18B20A, I have to play with a hand-written)
- 2009-07-17 08:39:25下载
- 积分:1
-
VB.net
实用CAN与上位机通讯例程,适用于基于CAN总线的自动系统参考。(Practical CAN and PC communication routines for automated reference system based on CAN bus.)
- 2016-03-26 13:53:23下载
- 积分:1
-
ieee14
IEEE14节点模型,PSCAD案例,同步发电机功率60MW,电压等级230kV(IEEE14 node model, PSCAD case, synchronous generator power 60MW, the voltage level of 230kV)
- 2015-03-18 14:54:44下载
- 积分:1
-
z2tong-xun
dual-machine communications
- 2014-03-21 21:07:41下载
- 积分:1
-
ADC1_TriggerConversion
根据对应的按键值,对应输出相应的电容值,并做掉电检测(According to the corresponding key value, corresponding to the output of the corresponding capacitance values and do brownout detection)
- 2013-11-26 23:42:16下载
- 积分:1