登录
首页 » Visual Basic » fer1

fer1

于 2014-11-22 发布 文件大小:9KB
0 100
下载积分: 1 下载次数: 1

代码说明:

  $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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CRC-check
    CRC check 介绍CRC的基本原理以及实现方式(CRC check)
    2016-03-28 09:07:58下载
    积分:1
  • motor_control_library_v0_10
    motor_control_library_v0_10.zip park SVPWM(motor_control_library_v0_10.zip park SVPWM)
    2020-12-09 14:39:19下载
    积分:1
  • dianyabiao
    数字电压表的源程序,可以实现实现测量电路的电压,精确到小数点后面三位数字。附带数字电压表的流程图(Digital voltage meter source, can be implemented to realize the voltage measurement circuit, down to the decimal point three digits.Attached flowchart of digital voltmeter)
    2013-11-15 16:38:21下载
    积分:1
  • IEC103
    非常全的103编程资料,以及C语言的103头文件定义代码,非常适合正在开发103通讯规约的朋友(103 very full program information, as well as 103 files define the C language code is very suitable communication protocol being developed 103 friends)
    2021-04-22 09:58:49下载
    积分:1
  • 01_LED
    说明:  430单片机中的led显示模块,对于初学者来说,这个程序简单易懂,是学习430的好帮手(430 in single-chip led display module, for beginners, this easy-to-read program is a good helper to learn 430)
    2009-08-20 17:31:40下载
    积分:1
  • 7620
    飞思卡尔的风单片机源程序,希望有帮助哦,记得好好刊登在用看(Freescale wind microcontroller source code, hope helpful Oh, I remember the good published in see)
    2013-01-23 01:39:23下载
    积分:1
  • WSN-time-synchronization-RBS
    无线传感器网络中时间同步算法,RBS算法的仿真源代码(Wireless sensor network time synchronization algorithm, the RBS algorithm simulation source code)
    2020-06-30 16:00:01下载
    积分:1
  • Inverters
    PSCAD逆变器仿真模型 (PSCAD simulation model of inverter)
    2021-04-27 22:28:44下载
    积分:1
  • robot
    超声波测距,测量精度为1cm,可以使机器人安全避障。(Ultrasonic distance measurement accuracy of 1cm, can make the robot obstacle avoidance safety.)
    2013-11-13 10:35:13下载
    积分:1
  • GREE6_Y502
    说明:  单片机I/O口控制红外发射管,模拟格力空调遥控器的代码。典型应用:上位机发送一个通用的“开机,温度,模式……”命令,单片机自动发射出和遥控器一摸一样的波形,实现智能遥控器的功能。 (MCU I/O port control infrared emission control, analog Gree air conditioner remote control code. Typical applications: host computer to send a generic &quot boot, temperature, mode ... ...&quot command, microcontroller and the remote control automatically emit the same wave first touch, intelligent remote control functions.)
    2010-03-19 14:36:36下载
    积分:1
  • 696524资源总数
  • 103904会员总数
  • 44今日下载