Загрузка данных


import motor
import time

print("Вперёд")
motor.forward(); time.sleep(2)

print("Назад")
motor.backward(); time.sleep(2)

print("Влево")
motor.turn_left(); time.sleep(1)

print("Вправо")
motor.turn_right(); time.sleep(1)

print("Стоп")
motor.stop()