登录
首页 » Visual Basic » fer1

fer1

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

  • PCA--stm32
    stm32F410X PCA例程,Stm32F410x很好的学习资料(Stm32F410X PCA routines, stm32F410X very good learning material )
    2012-08-08 10:52:44下载
    积分:1
  • MUIS
    单片机播放 音乐 是学习的好资料 音频学习
    2012-02-01 21:03:24下载
    积分:1
  • stepmotor
    这是个用矩阵键盘控制步进电机圈数和转速的程序,参数设定在触摸屏上显示(This is a matrix keyboard to control the stepper motor number of turns and speed program parameter settings on the touch screen display)
    2012-08-13 13:46:23下载
    积分:1
  • PFC
    无差拍PFC仿真代码,在PSIM下的电路仿真(Deadbeat PFC simulation code, circuit simulation in PSIM)
    2021-02-16 10:49:47下载
    积分:1
  • MUSIC-
    基于最小冗余线阵的谱相关共轭循环MUSIC算法(MUSIC algorithm based on conjugate cyclic spectral correlation minimum redundancy linear arrays)
    2013-12-26 12:39:53下载
    积分:1
  • dljs
    改程序适应于电力系统短路电流计算,生成节点导纳矩阵和阻抗矩阵。(Change program suitable for power system short-circuit current calculation, to generate the node admittance matrix and the impedance matrix.)
    2014-09-27 21:37:47下载
    积分:1
  • shangweiji
    上位机,与51单片机进行通信,将从单片机发送过来获得的信息显示在显示界面上。(PC, with 51 single-chip communication, sent from the information obtained from the microcontroller is displayed on the display screen.)
    2014-02-18 15:30:11下载
    积分:1
  • MPC837xE-RDB_init.cfg.tar
    which will use for MPC837XERDB when programming
    2011-11-01 21:54:43下载
    积分:1
  • cat24wc02
    这是Small RTOS 51 在DP-51下载仿真实验仪上使用CAT24WC02驱动程序的例子。本例程序按照相应的的通讯协议接收一个数据,并将接收到的数据显示到LED数码显示器上。然后将接收到的数据写入Cat24Wc02中,再在同一位置将数据读出,并将读出的数据通过串口发送回来。通讯协议参考rtos随想曲和test.ini。 (This is the Small RTOS 51 DP-51 download simulation NG use CAT24WC 02 Driver for example. The cases in accordance with the relevant procedures of receiving a communication protocol data and receiving the data shows that the LED digital display. Then sending the data into Cat24Wc02, again in the same position will be read out data, will be read out through the serial data sent back. Communication protocol reference rtos test.ini and Capriccio.)
    2006-09-11 09:59:05下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载