Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from gpiozero import Robot
- from time import sleep
- robo = Robot(left = (23, 24), right = (5, 6))
- robo.forward()
- sleep(1)
- robo.backward()
- sleep(1)
- robo.stop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement