 |
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
4 static int pinLeft, pinRight, rampLeft, rampRight;
void servo_stop(void)
Stops the servo process and frees a cog.
void drive_sleep()
Stops the drive wheel servo signals without stopping the processor that controls them.
Adds a layer over servo library for use with a differential servo drive robot. You have to add the si...
Control up to 14 servos in another core. For up to 28, add the servoAux library to your project....
void drive_pins(int left, int right)
Set up left and right wheel servo pin connections.
int servo_speed(int pin, int speed)
Set Parallax Continuous Rotation servo speed.
void drive_speeds(int left, int right)
Set the servo drive speeds.
int servo_set(int pin, int time)
Sets servo control signal to servo connected to a given pin for microsecond pulse durations.
int servo_setramp(int pin, int stepSize)
Set the maximum change in control signal a servo will change in a given 20 ms time period.
void drive_setramp(int left, int right)
Set the maximum ramp step size.
void drive_stop()
Stops the processor that controls all servos in the application.