Other Parts Discussed in Thread: C2000WARE, CONTROLSUITE
Tool/software: Code Composer Studio
Hello everyone, I have some errors in my PID code that I took from controle Suite.
the errors are in the pid_grando.h file althought i already included all the libraries necessary for running the code :
#include "IQmathLib.h"
#include "IQmath.lib"
#include "pid_grando.h"
the 3 errors are : (the errors are shown in red color)
1) identifier "PID_Terminals" is undefined
this error is here (in file pid_grando.h):
typedef struct { PID_TERMINALS term;
PID_PARAMETERS param;
PID_DATA data;
} PID_CONTROLLER;
2) identifier "PID" is undefined (this error is in the main file .c)
PID pid1
3) identifier "Unit16" is undefined
I hope someone can help and thanks