#ifndef __PID_controller_h__
#define __PID_controller_h__

/**This class provides a simple PID-Controller generateable to C with 16-bit arithmetic and 32-bit-integrator.

*/
typedef struct PID_controller_t
{
  
 int  intVal ;
 short  lastForDiff ;
 short  kI ;
 short  kP ;
 float  kD ;
} PID_controller;
  
METHOD_C short process_PID_controller(short input);

METHOD_C float getIntg_PID_controller();

#endif //__PID_controller_h__