文件名称:watchdog
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 秦*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
#include <reg52.h> //52系列单片机头文件
#define uchar unsigned char
#define uint unsigned int
sfr WDT_CONTR=0xe1
sbit led1=P0^0
sbit leds=P1^4 //led使能
void delayms(uint xms)
{
uint i,j
for(i=xms i>0 i--) //i=xms即延时约xms毫秒
for(j=110 j>0 j--)
}
void main()-# Include <reg52.h>// 52 series microcontroller header file# define uchar unsigned char# define uint unsigned int sfr WDT_CONTR = 0xe1 sbit led1 = P0 ^ 0 sbit leds = P1 ^ 4 // led so that it void delayms (and uint xms) {uint i , j for (i = xms i> 0 i-)// i = xms that delay of about of xms milliseconds for (j = 110 j> 0 j-) } void main ()
#define uchar unsigned char
#define uint unsigned int
sfr WDT_CONTR=0xe1
sbit led1=P0^0
sbit leds=P1^4 //led使能
void delayms(uint xms)
{
uint i,j
for(i=xms i>0 i--) //i=xms即延时约xms毫秒
for(j=110 j>0 j--)
}
void main()-# Include <reg52.h>// 52 series microcontroller header file# define uchar unsigned char# define uint unsigned int sfr WDT_CONTR = 0xe1 sbit led1 = P0 ^ 0 sbit leds = P1 ^ 4 // led so that it void delayms (and uint xms) {uint i , j for (i = xms i> 0 i-)// i = xms that delay of about of xms milliseconds for (j = 110 j> 0 j-) } void main ()
(系统自动生成,下载前可以参看下载内容)
下载文件列表
watchdog.c