登录
首页 » Visual Basic » fer1

fer1

于 2014-11-22 发布 文件大小:9KB
0 303
下载积分: 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 个回复

  • ADC1
    有关AVR的单片机adc的源代码,阐述详尽,便于使用(ADC OF AVR )
    2013-06-05 21:45:39下载
    积分:1
  • SLE442duxie
    c51单片机的sle4442卡的读写加密验证程序 已通过(c51 microcontroller sle4442 card reader encrypted authentication procedure has been adopted)
    2013-10-27 09:15:38下载
    积分:1
  • SVPWM11
    三电平SVPWM仿真,运行很好,三电平SVPWM仿真,运行很好,分享给大家( Three level SVPWM simulation, the operation is very good)
    2016-11-28 22:37:14下载
    积分:1
  • 16-18B20-sensor
    这是一个关于单片机开发的实例,讲述的是单片机上18B20的使用,通过用C语言进行一定的编程,以实现温度传感器的应用。(This is a single chip microcomputer development as an example, tells the microcontroller on the use of 18 b20, through certain programming in C language, in order to realize the application of temperature sensor. )
    2016-08-08 17:06:00下载
    积分:1
  • modubs
    说明:  该源码实现51单片机之间符合modbus通信协议的通信(This code can achieve communications between MCS51 by modbus protocol. )
    2010-04-16 17:02:11下载
    积分:1
  • WE
    说明:  Arduino单片机开发笔记2-7,希望大家都看看(Arduino microcontroller development notes 2-7, we want everyone to see)
    2013-07-30 11:15:11下载
    积分:1
  • wannianli
    电子万年历设计,有程序和电路图,已经经过调试成功,希望对需要的人们,提供这一资料(Electronic calendar design, there are programs and schematics, has been successful commissioning hope that people need to provide this information)
    2015-03-31 23:42:48下载
    积分:1
  • 19.fengmingqi
    此为51单片机的正弦波产生c程序,可将hex文件烧录到单片机内使用。(This is a 51 microcontroller sine wave generator c program, you can burn the hex file into the MCU.)
    2015-10-16 16:16:04下载
    积分:1
  • z2tong-xun
    dual-machine communications
    2014-03-21 21:07:41下载
    积分:1
  • led
    51单片机的led灯亮的c语言 程序使其旋转形成圆形(five one single chip microcomputer)
    2011-12-26 09:45:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载