error.c

来自「使用picc开发的基于pic16f87x的与上位机进行串行通信的源程序」· C语言 代码 · 共 26 行

C
26
字号
/*

KeyGhost

Designed by Shane Tolmie Apr 99.

Microprocessor: see mainkg.c

Compiled with:	see mainkg.c

Overall goal: 	keeping track of error occurrences with variables

*/

#include	"always.h"
#include	"error.h"

//variable error is always included so it isn't lost from the watch window when not in use
bank1 unsigned int error;														//used to detect errors, only used in debugging

#if	(ERROR_CHECK==TRUE)

bank1 unsigned char error_count[MAX_ERROR];					//used to count errors, only used in debugging

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?