登录
首页 » Visual Basic » fer1

fer1

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

  • isight_code
    isight与adams、MATLAB、adaqus等集成源程序(isight and adams, MATLAB, abaqus and other integrated source)
    2016-07-10 11:00:59下载
    积分:1
  • LABVIEW-and-MCU
    实现单片机与LABVIEW的串口通信。单片机部分的上载程序,只需用LABVIEW构建一个简单的输入与输出指令界面(LABVIEW MCU and serial communication. Single-chip part of the upload process, just use LABVIEW build a simple command interface, input and output)
    2011-06-28 11:31:33下载
    积分:1
  • M16_LED1
    M16跑马灯试验,内容丰富,代码简单,信息量大(M16 Marquee test, content-rich, simple code, the large amount of information)
    2012-05-28 13:24:09下载
    积分:1
  • CH341 _上位机 VC
    CH341 上位机软件,支持I2C UART等 接口(CH341 host computer software, support I2C, UART and other interfaces)
    2021-01-08 21:28:51下载
    积分:1
  • MSP-EXP430FR5739-User-Experience
    MSP430实现的多级菜单功能,采用OLED实现,占用Ram量较少(MSP430 realize multi-level menu functions, the use of OLED achieved occupancy of less Ram)
    2013-07-23 18:46:18下载
    积分:1
  • XListCtrl_demo-20140610
    主要是完成Listctr的封装,和对于xlistctrl 的一个实例程序 (The main package is completed Listctr)
    2014-06-10 21:58:28下载
    积分:1
  • powerdemo_6.5.1
    伺服电机控制系统,02年开始积累,效果好,速度快,PI控制,经典控制,fuzzy PID,自适应控制,速度位置控制等等,欢迎大家参考。(Servo motor control system, in 2002 began to accumulate, effective, fast, PI control, classical control, fuzzy PID, adaptive control, speed position control, etc., we welcome the reference.)
    2013-12-11 14:16:50下载
    积分:1
  • spi
    说明:  msp430f169单片机的主从spi通信。经过测试,通信成功(communications between msp430)
    2020-10-24 10:37:22下载
    积分:1
  • PARK
    说明:     paek变换 park转换,也称派克变换,英文为Park transformation,为现在占主流地位的交流电机分析计算时的基本变换。在电力系统分析和计算中,park转换具有重要的理论和实际意义。(paek transform park conversion, also known as Park transformation, the English for the Park transformation, for the now dominant in the calculation of AC motor analysis of the basic transformation. In power system analysis and calculations, park conversion has important theoretical and practical significance.)
    2011-04-14 15:48:47下载
    积分:1
  • race-game
    经典赛车游戏的基础模型,基于LPC2138芯片设计,可在ILI9320 LCD触摸屏上操作(The basis of classic car racing game model, based on the LPC2138 chip design, can be in ILI9320 LCD touch screen operation)
    2016-04-21 11:14:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载