Mechatronics Portfolio
Logan Williamson's Mechatronics Portfolio and Documentation Repository
Classes | Variables
Lab0x04_motor.py File Reference

A driver for controlling motor objects. More...

Classes

class  Lab0x04_motor.Motor
 A motor class for one channel of the DRV8847. More...
 

Variables

 Lab0x04_motor.motor_1 = Motor(3, Pin.cpu.B4, Pin.cpu.B5, 1, 2)
 
 Lab0x04_motor.motor_2 = Motor(3, Pin.cpu.B0, Pin.cpu.B1, 3, 4)
 
 Lab0x04_motor.nSLEEP = Pin(Pin.cpu.A15, mode=Pin.OUT_PP)
 
 Lab0x04_motor.nFAULT = Pin(Pin.cpu.A6, mode=Pin.OUT_PP)
 

Detailed Description

A driver for controlling motor objects.

This file contains a class which can be called to instantiate motor objects.

Author
Logan Williamson
Brianna Roberts
Date
02/03/2022