Sets up a class which can adjust power to the motor. More...
Classes | |
| class | Motor_Driver.MotorDriver |
| Sets up methods required to control a motor. More... | |
Variables | |
| Motor_Driver.mot1 = MotorDriver(3,'PA15','PB4','PB5',1,2) | |
| Motor_Driver.mot2 = MotorDriver(3,'PA15','PB0','PB1',3,4) | |
| int | Motor_Driver.ind = 50 |
Sets up a class which can adjust power to the motor.
This file defines a class which will allow a user to adjust the duty cycle of any two motors connected to the Nucleo. This file makes use of the pyb module for setting up pins and timers.