登录
首页 » Visual Basic » fer1

fer1

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

  • adc--232
    msp430f149 adc-rs232 数据传输(msp430f149 adc-rs232 data transfering)
    2015-08-20 22:16:57下载
    积分:1
  • 7-Seg_LEDCalc
    7段数码管显示与对应值计算工具。先点击对应管位,设置显示顺序,再点击生成即可获得键值。鼠标选择键值,数码管相应显示。(7-segment LED display with the corresponding value calculation tools. Firstly, click the corresponding tube in the LED, in order to set the display order. Then click Generate to get the value. After created, select the key and the digital will show the char accordingly.)
    2013-04-28 13:56:46下载
    积分:1
  • jiaotongdeng
    单片机模拟交通灯显示。其中,红灯与绿灯显示时间均为50s,中间的黄灯显示时间为15s。绿灯用八位发光二极管流动闪烁作代表;红灯用八位发光二极管全亮作代表;黄灯用八位发光二极管全亮全灭闪烁作代表。刚开始显示的为绿灯。(SCM simulated traffic light display. Among them, the red and green display times are 50s, in the middle of the yellow light is displayed for 15s. Green with eight light-emitting diode flashes as a representative flow red with eight full brightness light-emitting diodes as a representative yellow with eight light-emitting diodes for all light flashes Quanmie representatives. Just beginning to show as green. Display order: green- yellow- red- yellow- green- yellow- red- ..................)
    2014-05-29 17:15:44下载
    积分:1
  • parker
    基于美国PARKER运动控制器开发的多轴运动控制界面,包括直线,圆弧插补等,界面友好,直观(PARKER motion controller based on U.S. developed multi-axis motion control interface, including linear and circular interpolation, etc., user-friendly, intuitive)
    2020-09-10 06:38:00下载
    积分:1
  • 2D
    说明:  一个求二维格点模型热传导的程序,可以求温度分布和热导率(a program to get the theomal conductivity in 2D lattice madel)
    2012-03-31 11:52:56下载
    积分:1
  • IR-decoding-digital-display
    IR decoding digital display
    2013-10-06 00:06:17下载
    积分:1
  • DC-DC
    直流斩波变化的仿真和一些参考文献 可以学习一下(The simulation of dc chopper change and some references can learn )
    2015-06-04 10:16:13下载
    积分:1
  • 00.c
    基于单片机的数字电容表设计代码,包含数码管的显示(Based on single chip microcomputer digital capacitance table design code )
    2013-04-26 16:02:20下载
    积分:1
  • MCU
    单片机入门的编程教材,PDF格式,简单易懂,适合初学者(SCM introductory programming textbooks, PDF format, easy to understand for beginners)
    2015-11-06 19:43:50下载
    积分:1
  • CC430-4-TIMER
    CC430定时器应用程序定时2MS点亮LED灯,定时2MSLED灭。(CC430 timer application timing the 2MS light LED lights, timing 2MSLED off.)
    2012-07-24 16:18:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载