-
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
-
PCF8563lcd1602
pcf8563 lcd1602 ds18b02 stc89c52rc对系统精确定时 报警 采集温度(pcf8563 lcd1602 ds18b02 stc89c52rc precise timing of the alarm system collected temperature)
- 2011-11-18 13:18:38下载
- 积分:1
-
19
说明: 单片机c语言 初学者有用 有例子哦 (SCM c language for beginners there are examples of useful oh)
- 2009-09-17 21:23:41下载
- 积分:1
-
huibianban
按键控制LED灯的汇编程序,可实现按键控制LED灯的亮灭,主要是用汇编语言写的可以学习汇编(Button control keys to control LED lights LED lights LED light button control keys to control LED lights)
- 2014-04-23 10:08:42下载
- 积分:1
-
用vb写的数控仿真系统
说明: 仿真机床切割,可生产可编辑的轨迹代码,方便操作.(Simulated machine tool cutting, can produce editable trajectory code, easy to operate.)
- 2020-06-28 11:40:01下载
- 积分:1
-
Debenu-Quick-PDF-Library-Guide
给大家介绍一个PDF操作的sdk。通过这个sdk你可以直接对PDF文件进行显示、修改、新建及打印(Debenu Quick PDF Library Guide)
- 2015-08-28 21:20:31下载
- 积分:1
-
blcd-220V
本方案是基于富士通高可靠性单片机开发的锂电池电动螺丝刀,采用直流无刷电机作为核心,配合方波驱动以及闭环控制技术,实现电动工具的可靠运行。
技术参数
1)采用日本富士通MCU,性能稳定,抗干扰强,高可靠性;
2)直流18V输入(可兼容不同锂电池10V—36V);
3)三相霍尔直流无刷电机驱动,转速高达25000转/分;
4)采用德国英飞凌高性能MOS/IGBT,驱动功率高达800W;
5)高亮LED照明,工作时点亮,不工作时自动熄灭;
6)采用智能控制技术实现待机(不工作时)功耗为 0 消耗;
7)通过软件实现软启动,启动时间可调整,瞬间(1S)达最高速;
8)具有过流保护、堵转保护、过压欠压保护;
9)带速度设置按键、正反转按键、调速开关;
(The program is based on the Fujitsu MCU development of high reliability lithium battery electric screwdriver, brushless DC motor as the core, with the square wave drive and closed-loop control technology, power tools for reliable operation.)
- 2013-10-15 15:03:30下载
- 积分:1
-
RS485
这是基于飞思卡尔十六位单片机的RS485通信的例程(freescale RS485 routine)
- 2014-09-16 09:15:43下载
- 积分:1
-
FIFO-master
说明: This is a generic FIFO buffer that can be used to store any kind of items. It is written in C language and can be compiled and used on almost any architecture. It was designed to be used on memory limited architectures such as microcontrollers. Examples of the applications that can be built with this library include:
- 2020-06-21 02:00:01下载
- 积分:1
-
etpu_set1
飞思卡尔单片机的etpu功能模块set1 打包好的 直接可以用(The etpu function module of Freescale MCU Set1 Carle pack can be used directly)
- 2013-12-31 15:15:43下载
- 积分:1