登录
首页 » Visual Basic » fer1

fer1

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

  • 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
  • bujindianji
    基于单片机MSP430的 步进电机控制 测距程序 (MSP430 microcontroller-based stepper motor control ranging program)
    2014-04-19 16:02:47下载
    积分:1
  • 2DFT
    以上是二维傅里叶变换程序源代码 还有傅里叶反变换(These are the two-dimensional Fourier Transform source code for inverse Fourier transform)
    2012-05-27 13:58:55下载
    积分:1
  • flash
    基于低功耗单片机msp430f5438a的spiflash w25q128驱动 读写擦除(Based on low-power microcontroller msp430f5438a of spiflash w25q128 drive to read and write erase)
    2013-11-19 09:03:07下载
    积分:1
  • juzhenjianpan
    MSP430F169单片机矩阵键盘扫描程序,用一位共阳数码管显示(MSP430F169 microcontroller matrix keyboard scanning procedures, using a common anode LED display)
    2013-07-27 15:12:56下载
    积分:1
  • Realplay-
    基于单片机的霍尔传感器测速源码,带有蜂鸣器报警功能。(Hall speed sensor based on single-chip computer source, with a buzzer alarm function.)
    2015-08-27 17:03:04下载
    积分:1
  • Xray1
    实现射线源控制,包括电压,电流,大小焦点。还有图片按钮。(Achieve-ray source control, including voltage, current, the size of the focus. There are picture buttons.)
    2021-05-12 17:30:03下载
    积分:1
  • WaveProg_TX
    transfer file using sound card
    2009-12-21 16:26:33下载
    积分:1
  • 1
    说明:  CRC循环的代码,可以用,很详细,欢迎下载(CRC cyclic code can be used, in great detail, are welcome to download)
    2010-05-13 03:38:26下载
    积分:1
  • chaoshengboceju
    超声波测距(5 28线性处理),测量线性度很高(Ultrasonic Ranging (528 linear processing), high linearity measurements)
    2013-09-01 21:20:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载