登录
首页 » Visual Basic » fer1

fer1

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

  • 7746
    AD7746 用51测试来获取最小电容~(use 51 measure AD7746)
    2021-04-15 15:08:54下载
    积分:1
  • PSoC
    PSoC(Programmable System-On-Chip,片上可编程系统)实验指导,内含5个实验,适合新手学习熟悉功能,希望给大家带来帮助(An instruction of PSoC, 5 samples included,suitable for beginners.May it be hopeful!)
    2014-04-02 19:55:03下载
    积分:1
  • TStat_Control
    cfx子程序,基于该子程序,用户能够方便的将子程序与CFX进行连接,解决CFX接口问题。(CFX subroutine, based on the subroutine, the user can convenient to connect subroutine provided with CFX, provided to solve CFX interface problem )
    2020-09-24 21:27:49下载
    积分:1
  • timer2
    AVR单片机 定时器的应用 初始化 以及中断程序(AVR microcontroller timer application initialization and interrupt routine)
    2013-08-12 10:59:38下载
    积分:1
  • 2
    说明:  对c51单片机的0中断口的c语言初始化设置(0 c51 microcontroller interrupt port c language initialization settings)
    2013-04-22 14:52:42下载
    积分:1
  • PN532_nfc_lib
    PN532的上位机软件库,包括应用说明文档(PN532 PC software libraries, including the application documentation)
    2015-04-15 16:08:44下载
    积分:1
  • mo_phong_radar
    Radar simulation in visual c++
    2016-04-12 17:43:08下载
    积分:1
  • hongwaiyaokong
    说明:  红外遥控解码C51红外遥控解码C51红外遥控解码C51红外遥控解码C51(Infrared remote control Infrared remote control decoder decoding C51 C51 C51 infrared remote control Infrared remote control decoder decoding C51)
    2020-09-10 21:48:03下载
    积分:1
  • 80c52
    基于单片机控制I/O 和模拟电压线性输出,用于基本系统控制(failed to translate)
    2013-05-06 15:12:22下载
    积分:1
  • 12864xianshidonghua
    基于STC89C52单片机的12864动画显示程序,有详细的代码。(STC89C52 12864 based animation program, a detailed code.)
    2013-06-20 15:19:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载