📄 test_outputinfo.c
字号:
// Print Infomation to Serial Port
#include "includes.h"
extern INT8U crsN,crsType[10];
extern INT16U crsDist[10];
extern INT8U nowLoop;
void Test_PrintInfoTOSCI(void) {
INT8U i;
InitSCI0();
prints("\n----------------\n");
prints("crsN = %d\n", crsN);
prints("nowLoop = %d\n", nowLoop);
for (i = 0;i <= crsN;i++) {
prints("%d : Dist -> %d \t Type -> %d\n", i, crsDist[i], crsType[i]);
}
prints("\n----------------\n");
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -