Files
Robotics-at-Home-with-Raspb…/ch-05/3-turning/motors_2_motor_turn.py
T
2023-01-18 13:57:13 +00:00

8 lines
111 B
Python

import time
import robot
robot.motor_A1.value = True
robot.motor_B2.value = True
time.sleep(0.3)
robot.stop()