11届蓝桥杯单⽚机设计与开发决赛第⼀次尝试做国赛题⽬(还⾏)
main.c
#include <sys.h>
#include "ds1302.h"
#include "onewire.h"
#include "iic.h"
void OperateLed();
void main()
{
InitSystem();
Set_DS1302();
subway是什么意思
Timer0Init();
while(1)
{
wasteful
if(temper_flag)
{
temper_flag = 0;
aniccaTemper_Get();
}
if(dac_flag)
{
dac_flag = 0;
ReadAIN1();
}
volt = rd1 * 1.96;
Get_DS1302();
KeyScans();
DisplaySMG();
OperateLed();
KeyScans();
flj是什么意思}
bishopric}
void OperateLed()
{
if(interface == 1 || inter == 0)
hour_pp = hour_p;
商务英语课件if(interface == 2 || inter == 0)
temper_pp = temper_p;
if(temp < temper_pp * 10)
Led(2,0);
el
Led(2,1);
if(((Time[2] >= hour_pp) || (Time[2] <= 8))) Led(1,0);
el
Led(1,1);
cautionaryif(led)
Led(3,0);
化妆师培训学校
el
Led(3,1);
if(volt == 0)
status = 1;
el
status = 0;
}
sys.c
#include <sys.h>人教版小学英语教案
#include "onewire.h"
>enjoylife