?? usart_printp.h
字號:
#ifndef _USART_PRINTP_H_
#define _USART_PRINTP_H_
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#define PRINTP_EN TRUE //復雜的printp()函數(shù)是否使用
#define CR_as_CRLF FALSE // if true , you can use "\n" to act as CR/LF,
// if false , you have to use "\n\r",but can get a higher speed
extern char usart_putchar(char ch); //串口1發(fā)1個字節(jié)
extern void prints(char* ctrl); //串口發(fā)一串字符串
#if PRINTP_EN == TRUE
#include <ctype.h>
#include <string.h>
#include <stdarg.h>
void printp( char* ctrl, ...);
#endif
#endif //_USART_PRINTP_H_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -