ManualControl

Dependencies:   TPixy-Interface

Fork of MbedOS_Robot_Team by ECE4333 - 2018 - Ahmed & Brandon

PiController.h

Committer:
asobhy
Date:
2018-02-09
Revision:
4:417e475239c7

File content as of revision 4:417e475239c7:

#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