Skip to content

calibrate_home() in Motor.py can only home in one direction  #9

@mike6000

Description

@mike6000

I did mod your code to be able to home with a switch on the left side and right side. When you pass argument 2 to calibrate_home() the motor still runs to the negative direction.

def calibrate_home(self, direction: int):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions