Level down clean up

This commit is contained in:
Danny Staple
2022-03-20 22:32:06 +00:00
parent b595f3be54
commit 929f36dc8c
4 changed files with 89 additions and 79 deletions
+1 -1
View File
@@ -6,9 +6,9 @@ motor_A2 = pwmio.PWMOut(board.GP16)
motor_B1 = pwmio.PWMOut(board.GP18)
motor_B2 = pwmio.PWMOut(board.GP19)
def stop():
motor_A1.duty_cycle = 0
motor_A2.duty_cycle = 0
motor_B1.duty_cycle = 0
motor_B2.duty_cycle = 0