📄 pid.h
字号:
#ifdef __cplusplus
extern "C" {
#endif
// Typical PID Control Frame
struct STRUCT_PID{
Uint32 SetPoint; //设定目标值
Uint32 Proportion; //比例常数
Uint32 Integral; //积分常数
Uint32 Derivative; //微分常数
Uint32 LastError; //Error-1 次
Uint32 PrevError; //Error-2 次
Uint32 SumError; //Sum of Errors
};
extern volatile struct STRUCT_PID StructPid;
#ifdef __cplusplus
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -