-
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
-
ocm.cankaochengxu
说明: OCM12864参考程序_ 挺好的 适合做参考程序(_ OCM12864 reference to procedures for the very good reference procedures)
- 2008-11-05 14:30:51下载
- 积分:1
-
cPP
Richard Kaiser
C++ mit
Microsoft Visual C++ 2008
- 2013-12-12 20:42:59下载
- 积分:1
-
K60ADC
K60实现16bitadc采集,可移植性强。(K60 achieve 16bitadc collection, portability.)
- 2021-03-24 09:19:15下载
- 积分:1
-
51mcuand1602
51单片机加1602显示计算器C语言源码
可以实现加减乘除,有负数计算
(51 MCU plus 1602 display calculator C language source code
Can have negative calculation add, subtract, multiply and divide.)
- 2016-04-05 18:00:29下载
- 积分:1
-
chuankou-aPC
串口与pc机通讯,51单片机例程,只需要修改io口即可实现。(Serial communication with pc, 51 MCU routine, you only need to modify the io port can be realized.)
- 2013-08-04 16:51:41下载
- 积分:1
-
Timer
定时器:设定时间格式(00::00)后,到时间弹出提示(timer:set time(00:00),then run up)
- 2013-12-07 08:46:19下载
- 积分:1
-
Ti杯运送平台(加屏幕)
两个12V的电机驱动履带式底盘完成到制定目标运动的任务,可以通过点触屏进行无线控制。(Two 12V motor-driven crawler chassis complete the task of setting the target motion, which can be controlled by wireless touch screen.)
- 2020-06-25 17:40:02下载
- 积分:1
-
visualport
这是一个虚拟串口和红外口的例子的源代码。(This is a virtual serial port and infrared mouth of the source code examples.)
- 2007-03-22 11:11:40下载
- 积分:1
-
hx711
基于STM32f103控制HX711和LCD实现的电子秤,软件已调试成功,称重比较准确(Based STM32f103 control the HX711 and LCD electronic scale implementation, the software has debugging success, weighing more accurate)
- 2021-04-26 02:18:46下载
- 积分:1