Ball Balancer Project
|
Motor class to initialize and set up the motors in DRV8847.py. More...
Classes | |
class | motor.Motor |
A motor class for one channel of the DRV8847. More... | |
Motor class to initialize and set up the motors in DRV8847.py.
This motor class initializes the pins with the motor object to be enabled. Additionally, it allows for a pulse width modulation control that changes the speed of the motor. This allows for the Motor to move clockwise and counterclockwise at difference speeds.