Fix gpio setmode

This commit is contained in:
2023-10-29 20:56:03 -03:00
parent a1abc0b424
commit a066b13d20
2 changed files with 12 additions and 6 deletions

View File

@@ -2,9 +2,10 @@ from motor_passo.motor import Motor
def main():
motor = Motor([5, 6, 13])
motor = Motor([13, 19, 26])
motor.setup()
motor.step(24 * 2)
motor.set_speed(90)
motor.step(24 * 100)
if __name__ == "__main__":