CRServoWithPotentiometerAttachment
constructor(name: String, crServo: CRServo, potentiometer: AnalogInput, direction: DcMotorSimple.Direction)
Parameters
name
the name of the cr servo
crServo
the cr servo to control
potentiometer
the potentiometer reading the position of the cr servo
direction
the direction of the cr servo