Matthew's Portfolio
motor.py File Reference

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...
 

Detailed Description

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

Author
Matthew Frost
Date
Originally created on 02/25/21
Last modified on 03/17/21