44 lines
530 B
C
44 lines
530 B
C
/*
|
|
* main.h
|
|
*
|
|
* Created on: 2022年03月12日
|
|
* Author: User
|
|
*/
|
|
#ifndef __MAIN_H_
|
|
#define __MAIN_H_
|
|
|
|
|
|
#include "HC89S003AF4.h"
|
|
#include <stdio.h>
|
|
#include <intrins.h>
|
|
|
|
#include <Sys_init.h>
|
|
#include <TM1650.h>
|
|
#include <UART.h>
|
|
#include <IIC.h>
|
|
#include <Public.h>
|
|
#include <Timer0.h>
|
|
#include <Timer3.h>
|
|
#include <Protocol.h>
|
|
#include <ADC.h>
|
|
#include <PWM.h>
|
|
#include <IAP.h>
|
|
#include <PID.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define FAN_PIN P2_6
|
|
|
|
|
|
extern uint8_t Channel1_Error_Flag;
|
|
extern uint8_t Channel2_Error_Flag;
|
|
|
|
|
|
|
|
|
|
#endif
|