ME 305
|
Creates Motor Class. More...
Classes | |
class | motor.Motor |
Motor Class. More... | |
Creates Motor Class.
Motor Class sets the appropriate channels and pulse width modulation. Receives duty cycle to set the speed of the respective motor based on the set channels. Handles both positive and negative duty cycles to change the direction of rotation of the motor shaft