-
fer1
$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
- 2014-11-22 01:04:48下载
- 积分:1
-
ds1302
时钟芯片DS1302的MSP430的驱动程序,模块化书写,很好调用!(DS1302 clock chip MSP430 drivers, modular writing, good call!)
- 2013-08-26 19:00:24下载
- 积分:1
-
robot
超声波测距,测量精度为1cm,可以使机器人安全避障。(Ultrasonic distance measurement accuracy of 1cm, can make the robot obstacle avoidance safety.)
- 2013-11-13 10:35:13下载
- 积分:1
-
CC2430_FDMA
说明: 程序为基于Zigbee无线通信的点对多点无线通信源程序。ZigBee堆栈是在IEEE 802.15.4标准基础上建立的,定义了协议的MAC和PHY层。CC2430为基于51核心的高性能芯片。程序的编译平台为chipcon公司的IAR..(program of CC2430 )
- 2010-04-21 17:51:23下载
- 积分:1
-
proteus
基于51单片机的自行车测速系统protues仿真(Based the 51 microcontroller bike velocimetry system protues simulation)
- 2012-12-20 13:50:42下载
- 积分:1
-
jjcsy
酒精测试仪proteus仿真,单片机进行分析处理,判断是否醉酒驾车,再通过液晶板显示出来。(Alcohol Tester proteus simulation, analysis and processing microcontroller to determine whether drunk driving, and then through the LCD panel display.)
- 2013-11-27 15:26:09下载
- 积分:1
-
IR
说明: MSP430红外解码驱动,占用了一个定时器资源。(MSP430 IR decoding drive, taking up a timer resources.)
- 2013-08-25 19:03:05下载
- 积分:1
-
digital-display-clock
YL_3串行数码管显示时钟,74HC595,8位,显示时分秒,自动计数。(YL_3 serial digital display clock, 74HC595, 8 bit display minutes and seconds, automatic counting.)
- 2013-07-31 19:28:56下载
- 积分:1
-
led
at89c2051利用74ls164 驱动 共阳极数码管(74ls164 driver to use a total of at89c2051 digital tube anode)
- 2009-05-04 23:01:10下载
- 积分:1
-
zhiliudianjtiaosu
实现用单片机控制直流电机调速功能,可用,有hex文件(Achieve MCU control DC motor speed control function is available, a hex file)
- 2012-05-27 10:47:23下载
- 积分:1