ManualControl

Dependencies:   TPixy-Interface

Fork of MbedOS_Robot_Team by ECE4333 - 2018 - Ahmed & Brandon

Drivers/PiController.h

Committer:
asobhy
Date:
2018-02-15
Revision:
7:73fd05fe556a
Parent:
PiController.h@ 4:417e475239c7
Child:
8:a0890fa79084

File content as of revision 7:73fd05fe556a:

#ifndef PICONTROLLER_H
#define PICONTROLLER_H

#define U_LIMIT     20

int SaturateValue(int , int );
int SaturatingSubtract(int x, int y);
int SaturatingAdd(int x, int y);
void PiController_init(float,float);
uint32_t PiController(int,int);


#endif