搜索资源列表
单片机电子钟
- 用C51编写的源程序清单(由实验板运行通过)包含器件配置文件.闹时启/停子函数.走时函数.定时器T0 5mS初始化.扫描按键子函数.延时子函数等整个工程源代码-with C51 prepared by the source list (from the experimental operation through plate) contains device configuration files. When downtown Kai/
DS18B20驱动程序(C语言)
- 功能:实现对DS18B20的读取 原理:单总线协议 注意:单总线协议对延时要求比较严格,此程序中采用的是11.0592M的晶振,如果使用其他的晶振请跟据DS18B20的资料修改延时参数-functions : to achieve DS18B20 read Principle : single-bus protocol attention : single-bus protocol to delay requirements more
触摸屏的驱动程序(C语言)
- [文件名] Touch.c [功 能] 8051单片机驱动ADS7846/ADS7843芯片 [简 介] ADS7846/7843芯片 适合用在4线制触摸屏,它通过标准SPI协议和CPU通信,操作简单,精度高,当触摸屏被按下时(即有触摸事件发生)则ADS7846向CPU发中断请求,CPU接到请求后,应延时一下再响应其请求,目的是为了消除抖动使得采样更准确。如果一次采样不准确,可以尝试多次采样取最后一次结果为准,目的也是为了消除抖动。-D
最新10位数字温度传感器AD7416驱动程序
- 最新10位数字温度传感器AD7416驱动程序,注意要根据不同的情况来减少延时的个数-latest 10 AD7416 digital temperature sensor drivers, the attention should be different to reduce the number of delayed
keyboardscan
- 单片机键盘扫描程序:(其中KS1为判断有无按键闭合程序,TIM为延时6ms子程序)-SCM keyboard scanning procedures : (KS1 keys to determining whether closure procedures, TIM for the delay blinking Subroutine)
AT89SDOG
- 做看门狗应用实验时不能用51单片机仿真模块或51单片机仿真器,因为仿真模块或仿真器都占用串口资源。在while循环语句中应用喂狗延时程序,单片机不会复位,蜂鸣器响一声。-done watchdog experiment it is not the 51 microcontroller simulation module or 51 MCU simulator. Simulation module or because Simulator
LsHmVoL4
- 编译器/解释器,很有用的延时程序,常 用的延时程序 -compiler/interpreter, very useful delay proceedings, the usual procedure delay
1111103
- 8051单片机控制外部设备,读取外部设备状态,外部中断的应用,中断的深入理解,变量和标记的灵活应用,定时器的灵活应用,可编程自动控制的方法,按键控制设备动作的方法,PWM 输出的设计,存储器的读写,延时报警器的设计,各种报警音的设计,音乐播放的设计,程序模块化的设计等等知识。-8051 to control external equipment, reading the state of the external equipment,
145645247575427545
- 一个小小的延时程序VB,如果你想学的话,就下下来看看吧,有一定的收获哦.-a small delay procedures VB, if you want to study, then on the next down and watch it, a certain harvest oh.
51_keilc_delay
- 51单片机 keil c 延时程序的简单研究.-51 Single-chip delay keil c program simple research.
ANJIAN
- 一个单片机的按键程序。没有使用延时。但是使用其他的方式来达到了延时的目的。-A single-chip key procedures. Do not use the delay. However, the use of other means to achieve the purpose of delay.
led_dis
- 程序详细功能介绍: * 利用AT89S51单片机的P0端口的P0.0-P0.7连接到一个共阳数码管的a-h的笔段上, * 数码管的公共端通过三极管8550选通。在数码管上循环显示0-9数字,显示时间的间隔可通过修改延时程序。 -Procedures detailed functional Introduction:* use AT89S51 MCU port P0 is connected to P0.0-P0.7 Yang
delay
- AVR-GCC的三个级别的延时程序,在C语言中用C写的,在示波器上检测出误差十分小。-AVR-GCC
GCCstandard
- 广义的互相提取时延算法,此程序是基于matlab的源程序,适用于非高斯信号和高斯白噪声的情况-Generalized mutual delay extraction algorithms, this procedure is based on the matlab source, applicable to non-Gaussian signal and Gaussian white noise situation
displayHZ
- 进行键盘扫描及键处理时,在程序中直接调用函数KeyProcess()即可。键处理函数原 型声明在头文件Key.h中,键处理函数可放在程序的任何地方,一个按键对应一个处理函 数。 该键盘扫描程序去抖动为什么不需软件延时?因为从无按键到键被按下,要进行两次 扫描,此间相当于延时去抖动。 该键盘扫描程序还有一特色:用二维数组进行按键功能处理,使程序更简单。 /*$$$$$$$$$$$$$$$$$$$$$$$$$$$
1
- 嵌入式应用如图1所示,当P1.0端口输出高电平,即P1.0=1时,根据发光二极管的单向导电性可知,这时发光二极管L1熄灭;当P1.0端口输出低电平,即P1.0=0时,发光二极管L1亮;我们可以使用SETB P1.0指令使P1.0端口输出高电平,使用CLR P1.0指令使P1.0端口输出低电平。 作为单片机的指令的执行的时间是很短,数量大微秒级,因此,我们要求的闪烁时间间隔为0.2秒,相对于微秒来说,相差太大,所以我们在执行某一指令时
250ms
- 在单片机上实现250ms延时程序欢迎大家使用-In SCM to achieve 250ms delay procedures are welcome to use
VCWeiMiaoJiYanShi
- 一个使用在VC++里,一个微妙级的延时程序,包括整个测试代码-One used in VC++ Years, a subtle delay-class procedures, including the entire test code
vb1
- 一个比较有意思的延时程序,可以增加实用性,非常简单-A more interesting time delay procedure to increase the practicality, very simple
1_3
- 在程序中调用软件延时程序的点灯程序,要求定义状态寄存器的各种参数。-In the procedure call software delay proceedings even to light lamps procedures, require the definition of various parameters of the state of registers.