📄 main.c
字号:
/**********************************************************
*Header:
*File Name:
*Author: 陈培炜,杨帆
*Data;2007
*Function:
*********************************************************/
#include <REG52.h>
#include <stdio.h>
#include "keypwm.h"
#include "key.h"
#include "Lcd.h"
/*************************************************
/*Header:DS18B20.h
/*File Name:main.c
/*Author: 陈培炜,杨帆
/*Data;2007
/*Function:
/************************************************/
void main(void)
{
T0InterruptInitial();
InitLcd();
Ext0Initial();
TR0 = 1; // 开定时器0 //
ET0 = 1; // 开定时中断 //
EA = 1;
while(1)
{
Pwm(); //pwm输出
}
}
/*************************************************
/*
/*
/************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -