-
-
Save Bhavithiran97/59c79e7bb2af8df93bdf52e087ec6568 to your computer and use it in GitHub Desktop.
Turn Right
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from motor_driver import * # import motor_driver library | |
motor = motor_driver(4,5,2,3) # M1A = 4, M1B = 5, M2A = 2, M2B = 3 | |
# Turn Right | |
motor.speed(50,0) # turn right at speed 50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment