📄 globalvar.h
字号:
#ifndef _GLOBAL_DECL_
#define _GLOBAL_DECL_ extern
#endif
/* PORTS section */
_GLOBAL_DECL_ char SecData,MinData,HourData,Timems,IndTimes;
_GLOBAL_DECL_ char MenuPage,LifeDispFlag,PowerFlag,LCDTestFlag;
_GLOBAL_DECL_ char KeyPreState,ClockFlag;
_GLOBAL_DECL_ unsigned long MotorSpeed[4];
_GLOBAL_DECL_ unsigned int MotorHBSpeed[4],MotorHBSpeedFlag[4],MotorDemoStep[4],MotorDemoStep1[4];
_GLOBAL_DECL_ unsigned int MotorFinalStep[4],MotorCurStep[4];
_GLOBAL_DECL_ unsigned int MotorMaxStep[4],MotorMinStep[4];
_GLOBAL_DECL_ unsigned int MotorStep;
_GLOBAL_DECL_ int MotorSpeedIndex[4],MaxSpeedIndex[4];
_GLOBAL_DECL_ char MotorMoveStatus[4];
_GLOBAL_DECL_ char motor_flag[4],MotorStatus[4],MotorDemoFlag;
_GLOBAL_DECL_ char MotorTest,DemoStep,MTRDR[4];
_GLOBAL_DECL_ unsigned long Mileage,Mileage_lmm;
_GLOBAL_DECL_ unsigned int OverFlowCnt,Mileage_mm;
_GLOBAL_DECL_ unsigned char MotorMode[4],MotorInput[4];
_GLOBAL_DECL_ unsigned long Time8ms,KeyDelayTime,LifeDispTime,LCDTestTime,LCDTimerCnt,LCDTimerFlag;
_GLOBAL_DECL_ unsigned long LCDPreTime,LCDRotTime,LCDBlinkTime;
_GLOBAL_DECL_ unsigned char LCDBlink,LCDStatus,LCDLen;
_GLOBAL_DECL_ unsigned char LCDCirBuf[41],LCDMoveBuf[9];
_GLOBAL_DECL_ unsigned int LCDMileage,LifeDispFlagCnt,LCDDispCnt;
_GLOBAL_DECL_ unsigned int DemoIndex[4],DemoIndex1[4];
_GLOBAL_DECL_ unsigned int speed0,speed1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -