|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
14 int errorLeft, errorRight;
15 int driveLeft, driveRight;
26 for(
int da = 112; da >= 0; da -= 16)
36 errorLeft = setPoint - irLeft;
37 errorRight = setPoint - irRight;
39 driveLeft = kp * errorLeft;
40 driveRight = kp * errorRight;
void drive_speed(int left, int right)
Set wheel speeds in encoder ticks per second. An encoder tick is 1/64th of a revolution,...
void da_out(int channel, int daVal)
Set D/A output.
This library provides a simple set of functions for making the ActivityBot 360 go certain distances a...
Functions for setting voltages with D/A0, D/A1 outputs and measuring voltages with A/D0....