-
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
-
diandeng
点亮小灯,针对51单片机系统,简单实用,操作简单,具有可移植性(lighten the light)
- 2014-04-22 21:38:31下载
- 积分:1
-
wktssrq
涵盖温控调速散热器所有源代码!哈尔滨工程大学;经典实用。(All source code to cover the thermostat governor radiator! Harbin Engineering University classic and practical.)
- 2012-05-21 15:17:48下载
- 积分:1
-
1-(3)
Scheduling With Short Term Security Constrained Unit Commitment
- 2015-04-03 21:26:47下载
- 积分:1
-
PSoC
PSoC(Programmable System-On-Chip,片上可编程系统)实验指导,内含5个实验,适合新手学习熟悉功能,希望给大家带来帮助(An instruction of PSoC, 5 samples included,suitable for beginners.May it be hopeful!)
- 2014-04-02 19:55:03下载
- 积分:1
-
LEDtest
利用单片机作为芯片,利用点阵按钮通过继电器控制LED灯(Using single chip microcomputer as a chip, using bitmap button by relay control LED lights)
- 2013-08-22 10:32:00下载
- 积分:1
-
power-supply-standard
开关电源测试 标准 (Switching power supply testing standards)
- 2012-09-07 23:02:01下载
- 积分:1
-
stm32-study5
stm32学习
十三:RS485总线的使用
十四:TFT屏的图片,中文和字符显示(stm32 learning 13: RS485 bus use 14: TFT screen pictures, Chinese, and character)
- 2012-07-12 20:17:52下载
- 积分:1
-
z
说明: 足球机器人小车总体设计思想及其单片机选型(The soccer robot car overall design thinking its microcontroller selection)
- 2013-03-26 10:18:45下载
- 积分:1
-
YL-64
TCS3200颜色传感器测试程序以及有关说明pdf文件,测试可用讲解详细(TCS3200 yan se chuan gan qi cheng xu ji you guan shuo ming)
- 2016-03-02 19:00:25下载
- 积分:1