public class MicroServo9gA0090 extends ServoMotor
Example of use: MicroServo9gA0090Example
PWM_RANGE_GENERATOR, TARGET_FREQUENCY
DEFAULT_RPI_PWM_CLOCK_FREQUENCY, PCA9685_PULSE_TICKS, pinNumber
Constructor and Description |
---|
MicroServo9gA0090(PCA9685 pca9685,
PCA9685.PCA9685Channel channel)
Constructor for a MicroServo 9g A0090, using a specific PCA9685
and a specific channel on this PCA9685.
|
MicroServo9gA0090(PWMPin pin)
Constructor for a MicroServo 9g A0090, using a specific PWM pin
from the Raspberry Pi.
|
getPositionAngle, resetPosition, setAngle, setPulseLength, setPulseLength, stopMotor
getType, setPWM, setPWM, setPWMFreq
public MicroServo9gA0090(PCA9685 pca9685, PCA9685.PCA9685Channel channel)
pca9685
- the PCA9685 to use to manage the servo.channel
- the channel on the PCA9685 to use to manage the servo.public MicroServo9gA0090(PWMPin pin)
pin
- the PWM to use to manage the servo.