?? print.h
字號:
#ifndef PRINT_H
#define PRINT_H
#include <reg51.h>
#include "elseFiles\func.h"
//為了防止出現 WARNING UNCALLED
#define PRINT_USE
#define PRINT_STR //print_Str 為Dec和Hex提供支持
#define PRINT_CHAR
// #define PRINT_DEC
#define PRINT_HEX
#ifdef PRINT_USE
extern unsigned char uRxUART; //串口接受的數據
void print_init(void);
void print_Str(const char*p);
#ifdef PRINT_CHAR
void print_Char(unsigned char c);
#endif
#ifdef PRINT_DEC
void print_Dec(unsigned char n,unsigned char flag); //n:需要轉換的數 flag:回車標志符
#endif
#ifdef PRINT_HEX
void print_Hex(unsigned char n,unsigned char flag);
#endif
#endif //PRINT_USE
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -