Set the motors to run with a specified duty cycle. More...
Classes | |
class | motor.motorDriver |
Motor class to allow for several motors to be used. More... | |
Set the motors to run with a specified duty cycle.
The controller driver will calculate a new duty cycle and input into this class, where it will set the according motor to the new duty cycle. Other methods include enabling and disabling the nSLEEP pin, which is allows the motor to be turned on or off. See source code here: https://bitbucket.org/MatthewFrostCP/me305_bblabs/src/master/Lab_Final/motor.py