Motor

class Motor(channel: int, angles: list[int], pwm)[source]

Bases: object

__init__(channel: int, angles: list[int], pwm) None[source]

Methods

servo_pulse(ms: float) int[source]
move(angle: int) None[source]
disable() None[source]

Stops PWM signal to release holding torque.

open() None[source]

Moves the motor to the open position.

close() None[source]

Moves the motor to the close position.