Files
BLTouchTest/App/config.h
2023-05-19 15:50:27 +08:00

33 lines
769 B
C

#ifndef __CONFIG_H
#define __CONFIG_H
/*********************************************************/
// #define MAIN_Fosc 22118400L // 定义主时钟
// #define MAIN_Fosc 12000000L // 定义主时钟
// #define MAIN_Fosc 11059200L // 定义主时钟
// #define MAIN_Fosc 5529600L // 定义主时钟
// #define MAIN_Fosc 24000000L // 定义主时钟
#define MAIN_Fosc 20000000L // 定义主时钟
/*********************************************************/
#include "STC15Fxxxx.H"
/**************************************************************************/
#define Main_Fosc_KHZ (MAIN_Fosc / 1000)
/***********************************************************/
// 数据类型重定义
#define HIGH 1
#define LOW 0
#define UP 1
#define DOWN 0
#endif