Skip to content

Instantly share code, notes, and snippets.

@Bhavithiran97

Bhavithiran97/Move Forward.py Secret

Created Feb 5, 2021
Embed
What would you like to do?
Move Forward
from motor_driver import * # import motor_driver library
motor = motor_driver(4,5,2,3) # M1A = 4, M1B = 5, M2A = 2, M2B = 3
# Move Forward
motor.speed(50,50) # move forward at speed 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment