Every-Flavor-Robotics / motorgo-mini-driver

Driver software for the MotorGo Mini board
MIT License
2 stars 1 forks source link

Created MotorChannel class #56

Closed SwapnilPande closed 9 months ago

SwapnilPande commented 9 months ago

The MotorChannel class encapsulates all of the API for controlling a motor channel on the MotorGo. This reduces the repeated code in the MotorGo class and makes the usage API simpler for the user. Additionally, this opens the future to define similar interfaces for brushed motors, servo motors, etc.

Closes #53 Closes #52

@stilsota It would be good to have a test on a balance bot before we merge this into dev