PropWare  3.0.0.229
C++ objects and CMake build system for Parallax Propeller
setErrorLimit.c
1 #include "abdrive.h"
2 
3 volatile int abd_edMax;
4 
5 void drive_setErrorLimit(int maxDistDiffTicks)
6 {
7  abd_edMax = maxDistDiffTicks;
8 }
9 
abdrive.h
This library takes care of encoder monitoring and servo signaling, and provides a simple set of funct...
drive_setErrorLimit
void drive_setErrorLimit(int maxDistDiffTicks)
Sets the maximum accumulated error between target and actual distance traveled.
Definition: setErrorLimit.c:5