-
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
-
I2C
iic接口的程序,可以用于f149单片机(iic interface procedures can be used F149 microcontroller)
- 2013-05-21 09:14:51下载
- 积分:1
-
Honeywell
HONEY实现工业控制过程的系统,进行任务调度.(HONEY process of industrial control systems, task scheduling.)
- 2011-07-20 12:32:29下载
- 积分:1
-
XMT_USB_VC6
哈尔滨芯明天科技XE517系列压电陶瓷控制器配套上位机软件的开发例程,这个版本是VC6开发。发布时需要拷贝debug目录中的头文件和动态库文件到*.exe文件目录中。(Harbin XMT XE517 series of piezoelectric ceramic controller supporting PC software development routines, this version is VC6 development. When you need to copy the directory publishing debug header files and dynamic library files to*. Exe file directory.)
- 2021-01-04 09:18:55下载
- 积分:1
-
SAMSUNG_S3C2440
SAMSUNG S3C2440开发文档大全---(。)
- 2009-11-16 00:20:07下载
- 积分:1
-
anjian
stm8系列单片机,控制八位数码管按键计数(stm8 series microcontrollers, digital control buttons eight counts)
- 2015-03-29 17:12:04下载
- 积分:1
-
CD4052--4735424529034
cd4052用stm32来写的程序,,实现电子开关电路
(CD4052 uses STM32 to write the program, the electronic switch circuit)
- 2021-03-24 09:59:15下载
- 积分:1
-
Date
用整数存储私有成员:年、月和日。为类提供构造函数,能够对各成员进行初始
化,但出现错误的初值时, 成员为2000-1-。也可以不在不提供任何初值的情况
下日期为2000-1-1。另外可以用一个Date 对象进行初始化,成员函数应实现以
下功能:
(1) 对所有成员一次性赋值,也能对某个成员单独赋值,能够一次返回所有成
员的值,也能单独返回某个成员的值
(2) 可以按照mm-dd-yyyy 格式输出日期。
(3) 有成员函数nextDay(),用于将日期增加一天(Integer stored the private Members: year, month, and day. Class provides a constructor to initialize the members, but the wrong initial value, members 2000-1-. The date can also be not the case does not provide any initial value 2000-1-1. Also available on a Date object is initialized, the member function should achieve the following functions: (1) all members of the one-time assignment, can also be a member of a separate assignment, to return once the value of all the members, but also separate return a The members of the value (2) according to the date of mm-dd-yyyy format output. (3) member function nextDay () for additional day date)
- 2012-11-22 11:18:18下载
- 积分:1
-
13-5-1
电子时钟的小程序,基于89c51单片机,可以实现定时、计时、修改时间等功能。(Electronic clock applet, based on 89c51 microcontroller, can achieve timing, timing, modification time and other functions.)
- 2013-11-17 09:35:47下载
- 积分:1
-
demo
交流电动机的矢量控制(Transvector Contrl)理论,从理论上解决了交流电动机转矩的高性能控制问题。其基本思想是在普通的三相交流电动机上设法模拟直流电动机转矩控制的规律,在磁场定向坐标上,将电流矢量分解成产生磁通的励磁电流分量 和产生转矩的转矩电流分量 ,并使两分量互相垂直,彼此独立,然后分别进行调节。这样,交流电动机的转矩控制,从原理和特性上就与直流电动机相似了。因此,矢量控制的关键仍是对电流矢量的幅值和空间位置的控制。(AC motor vector control (Transvector Contrl) theory, control theory to solve the problem of high-performance AC motor torque. The basic idea is to try to simulate the DC motor torque control law in the ordinary three-phase AC electric motor in field-oriented coordinates, the current vector decomposed to produce the excitation current component of the magnetic flux generating a torque current component and torque, and two components perpendicular to each other, independently of each other, and then were adjusted. Thus, AC motor torque control, the principle and characteristics of the DC motor on and similar. Therefore, the key vector control is still the amplitude and spatial position of the current vector control.)
- 2016-12-01 08:58:29下载
- 积分:1