Robotics-at-Home-with-Raspb.../ch-5/1-tests/motors_test_1_pin_short.py
2021-12-07 21:34:30 +00:00

7 lines
99 B
Python

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