from pybricks.hubs import TechnicHub
from pybricks.pupdevices import Motor
from pybricks.parameters import Button, Color, Direction, Port, Side, Stop
from pybricks.robotics import DriveBase
from pybricks.tools import wait, StopWatch

#GBC 50 Tow Lift

#Uncomment the hub and motor that you want to use by deleting the # character in front. Use port A on the hub
#hub = TechnicHub() #Technic gray hub
#hub = CityHub() #City white hub
#hub = MoveHub() #Boost hub
#hub = PrimeHub() #Big Yellow hub
#hub = EssentialHub() #Small Yellow hub
#hub = InventorHub() #Big Blue/Turquoise hub

#Initialize motors
#motor_gbc51 = Motor(Port.A) #Motors with rotation sensors (Often Technic motors)
#motor_gbc51 = DCMotor(Port.A) #Motors without rotation sensors (Train motor or DC city motor)


#Start loop
while True:
	motor_gbc51.dc(100)
	wait(10000)
	motor_gbc51.dc(-100)
	wait(10000)