-
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
-
double
power electronic machine model
- 2019-04-30 17:14:48下载
- 积分:1
-
infrared-transmitting-receiving-
本文包括红外发射和接收模块,以及和他们相关的资料信息
(In this paper, including the infrared emission and receiving module, and their related information)
- 2015-04-14 12:07:28下载
- 积分:1
-
PIDK60
基于K60的PID调速,飞思卡尔都要用到,很重要的(K60 is based PID control, Freescale must be used, it is important)
- 2020-10-28 00:39:58下载
- 积分:1
-
hmi_v013
用于TI 3S9B96开发板
实现功率转换的功能(Development board for the TI 3S9B96 achieve power conversion function)
- 2011-11-25 17:42:31下载
- 积分:1
-
AVR_single-chip_applications_include_the_developme
AVR单片机应用系统开发典型实例
包含电路图,C语言源码及
ICCAVR的软硬仿文件(AVR single-chip applications include the development of a typical circuit example, C language source code and documentation ICCAVR like the soft and hard)
- 2009-05-19 12:59:42下载
- 积分:1
-
stm32-485-program
关于stm32的485通讯程序,用串口USART。。。(stm32-485 program)
- 2012-07-28 17:07:21下载
- 积分:1
-
SPWM
可以产生幅度、频率可调的方波,频率50hz到1M(Can produce the amplitude, frequency adjustable Fang Bo, frequency of 50Hz to 1M)
- 2013-08-21 17:06:30下载
- 积分:1
-
14-chuankoutongxin
51单片机的串口通信程序,来自于开发板,VC环境下编写。(51 the Serial communication program, and from the development board, VC environment prepared.)
- 2010-06-27 13:45:06下载
- 积分:1
-
vb6.0-yanshi
vb驱动控制器源代码就这样啦 具体自己看吧(vb drive controller source code)
- 2013-04-25 23:06:22下载
- 积分:1